mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 18:21:16 +02:00
fix hands
This commit is contained in:
parent
5442ffaf3e
commit
0c5adf83ce
1 changed files with 1 additions and 1 deletions
|
@ -621,7 +621,7 @@
|
||||||
var rightHandPosition = MyAvatar.getRightPalmPosition();
|
var rightHandPosition = MyAvatar.getRightPalmPosition();
|
||||||
|
|
||||||
var rightDistance = Vec3.distance(leftHandPosition, BEAM_POSITION)
|
var rightDistance = Vec3.distance(leftHandPosition, BEAM_POSITION)
|
||||||
var leftDistance = Vec3.distance(leftHandPosition, BEAM_POSITION)
|
var leftDistance = Vec3.distance(rightHandPosition, BEAM_POSITION)
|
||||||
|
|
||||||
if (rightDistance < BEAM_TRIGGER_THRESHOLD || leftDistance < BEAM_TRIGGER_THRESHOLD) {
|
if (rightDistance < BEAM_TRIGGER_THRESHOLD || leftDistance < BEAM_TRIGGER_THRESHOLD) {
|
||||||
_this.toggleButton();
|
_this.toggleButton();
|
||||||
|
|
Loading…
Reference in a new issue