mirror of
https://github.com/overte-org/overte.git
synced 2025-08-05 06:19:49 +02:00
don't show grab-point sphere when near grabbing or equipping
This commit is contained in:
parent
3355097bd0
commit
2a5d686a76
1 changed files with 2 additions and 0 deletions
|
@ -1983,6 +1983,8 @@ function MyController(hand) {
|
|||
|
||||
this.nearGrabbing = function(deltaTime, timestamp) {
|
||||
|
||||
this.grabPointSphereOff();
|
||||
|
||||
if (this.state == STATE_NEAR_GRABBING && !this.triggerClicked) {
|
||||
this.callEntityMethodOnGrabbed("releaseGrab");
|
||||
this.setState(STATE_OFF, "trigger released");
|
||||
|
|
Loading…
Reference in a new issue