don't attempt to near-grab things that aren't physical

This commit is contained in:
Seth Alves 2015-11-09 14:10:26 -08:00
parent 4cb5e710a3
commit 8a434c8ab1

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;
}