mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 19:14:59 +02:00
fix webSurfaceIntersection
This commit is contained in:
parent
96a696203c
commit
87cfbe48d1
1 changed files with 1 additions and 1 deletions
|
@ -247,8 +247,8 @@ Script.include("/~/system/libraries/controllers.js");
|
|||
|
||||
this.run = function(controllerData, deltaTime) {
|
||||
this.addObjectToIgnoreList(controllerData);
|
||||
var type = this.getInteractableType(controllerData, isTriggerPressed, false);
|
||||
var isTriggerPressed = controllerData.triggerValues[this.hand] > TRIGGER_OFF_VALUE;
|
||||
var type = this.getInteractableType(controllerData, isTriggerPressed, false);
|
||||
var laserOn = isTriggerPressed || this.parameters.handLaser.alwaysOn;
|
||||
this.addObjectToIgnoreList(controllerData);
|
||||
|
||||
|
|
Loading…
Reference in a new issue