mirror of
https://github.com/overte-org/overte.git
synced 2025-04-17 05:30:41 +02:00
Fixed controllerExample parse error
This commit is contained in:
parent
5233577d24
commit
f887bbd45c
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ triggers[1] = Controller.Standard.RT;
|
|||
function checkController(deltaTime) {
|
||||
var triggerToggled = false;
|
||||
for (var t = 0; t < NUMBER_OF_TRIGGERS; t++) {
|
||||
var triggerValue = Controller.getValue(triggers[t]]);
|
||||
var triggerValue = Controller.getValue(triggers[t]);
|
||||
if (triggerPulled[t]) {
|
||||
// must release to at least 0.1
|
||||
if (triggerValue < 0.1) {
|
||||
|
|
Loading…
Reference in a new issue