mirror of
https://github.com/overte-org/overte.git
synced 2025-04-18 00:26:33 +02:00
Primary thumb press can be used to drop an equipped object
This commit is contained in:
parent
14efd5dc12
commit
7ccbc9e6eb
1 changed files with 1 additions and 1 deletions
|
@ -1711,7 +1711,7 @@ function MyController(hand) {
|
|||
return;
|
||||
}
|
||||
|
||||
if (this.state == STATE_HOLD && dropDetected && this.triggerSmoothedGrab()) {
|
||||
if ((this.state == STATE_HOLD && dropDetected && this.triggerSmoothedGrab()) || this.thumbPressed()) {
|
||||
this.setState(STATE_OFF, "drop detected");
|
||||
this.callEntityMethodOnGrabbed("releaseEquip");
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue