mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
don't attempt to near-grab things that aren't physical
This commit is contained in:
parent
4cb5e710a3
commit
8a434c8ab1
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue