don't show grab-point sphere when near grabbing or equipping

This commit is contained in:
Seth Alves 2016-08-27 20:11:16 -07:00
parent 3355097bd0
commit 2a5d686a76

View file

@ -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");