mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 19:59:28 +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) {
|
if (grabbableData.wantsTrigger) {
|
||||||
this.setState(STATE_NEAR_TRIGGER);
|
this.setState(STATE_NEAR_TRIGGER);
|
||||||
return;
|
return;
|
||||||
} else if (!props.locked) {
|
} else if (!props.locked && props.collisionsWillMove) {
|
||||||
this.setState(STATE_NEAR_GRABBING);
|
this.setState(STATE_NEAR_GRABBING);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue