mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 12:53:03 +02:00
Merge pull request #6245 from EdgarPironti/controllers
Fixed controllerExample.js parse error
This commit is contained in:
commit
b5fd3424b8
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