mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 23:40:11 +02:00
Resolve Comments of @sethalves
This commit is contained in:
parent
e5c7587ad8
commit
b194ddeb66
1 changed files with 1 additions and 1 deletions
|
@ -2659,7 +2659,7 @@ function MyController(hand) {
|
||||||
|
|
||||||
var distanceToObject = Vec3.length(Vec3.subtract(MyAvatar.position, this.currentObjectPosition));
|
var distanceToObject = Vec3.length(Vec3.subtract(MyAvatar.position, this.currentObjectPosition));
|
||||||
this.linearTimeScale = (this.linearTimeScale / 2);
|
this.linearTimeScale = (this.linearTimeScale / 2);
|
||||||
if(this.linearTimeScale <= DISTANCE_HOLDING_ACTION_TIMEFRAME){
|
if (this.linearTimeScale <= DISTANCE_HOLDING_ACTION_TIMEFRAME) {
|
||||||
this.linearTimeScale = DISTANCE_HOLDING_ACTION_TIMEFRAME;
|
this.linearTimeScale = DISTANCE_HOLDING_ACTION_TIMEFRAME;
|
||||||
}
|
}
|
||||||
var success = Entities.updateAction(this.grabbedThingID, this.actionID, {
|
var success = Entities.updateAction(this.grabbedThingID, this.actionID, {
|
||||||
|
|
Loading…
Reference in a new issue