Merge pull request #6355 from sethalves/dont-neargrab-nonphysical

don't attempt to near-grab things that aren't physical
This commit is contained in:
James B. Pollack 2015-11-10 13:11:50 -08:00
commit ff87a6ce6f

View file

@ -489,7 +489,7 @@ function MyController(hand) {
if (grabbableData.wantsTrigger) {
this.setState(STATE_NEAR_TRIGGER);
return;
} else if (!props.locked) {
} else if (!props.locked && props.collisionsWillMove) {
this.setState(STATE_NEAR_GRABBING);
return;
}