mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 20:44:14 +02:00
CR feedback
This commit is contained in:
parent
ed20e7d209
commit
090dc5409b
1 changed files with 1 additions and 3 deletions
|
@ -250,7 +250,6 @@ function MyController(hand, triggerAction) {
|
|||
};
|
||||
|
||||
this.updateSmoothedTrigger = function () {
|
||||
//var triggerValue = Controller.getValue(this.triggerAction); // this.rawTriggerValue; //
|
||||
var triggerValue = this.rawTriggerValue;
|
||||
// smooth out trigger value
|
||||
this.triggerValue = (this.triggerValue * TRIGGER_SMOOTH_RATIO) +
|
||||
|
@ -267,8 +266,7 @@ function MyController(hand, triggerAction) {
|
|||
};
|
||||
|
||||
this.triggerSqueezed = function() {
|
||||
var triggerValue = Controller.getValue(this.triggerAction); // this.rawTriggerValue; //
|
||||
print("triggerSqueezed() triggerValue:" + triggerValue);
|
||||
var triggerValue = this.rawTriggerValue;
|
||||
return triggerValue > TRIGGER_ON_VALUE;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue