mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 05:48:26 +02:00
Disable smooth movement in teleport.js
This commit is contained in:
parent
53623f7583
commit
2ef7c9a57a
1 changed files with 3 additions and 1 deletions
|
@ -509,7 +509,9 @@ function Teleporter() {
|
||||||
var offset = getAvatarFootOffset();
|
var offset = getAvatarFootOffset();
|
||||||
this.intersection.intersection.y += offset;
|
this.intersection.intersection.y += offset;
|
||||||
this.exitTeleportMode();
|
this.exitTeleportMode();
|
||||||
this.smoothArrival();
|
// Disable smooth arrival, possibly temporarily
|
||||||
|
//this.smoothArrival();
|
||||||
|
MyAvatar.position = _this.intersection.intersection;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue