mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 15:03:53 +02:00
when releasing a near-grab, zero velocity if there is another grab, regardless of the isInitialGrab flag
This commit is contained in:
parent
efca6ecb1d
commit
7fb67e487e
1 changed files with 1 additions and 1 deletions
|
@ -1650,7 +1650,7 @@ function MyController(hand) {
|
|||
// this next line allowed both:
|
||||
// (1) far-grab, pull to self, near grab, then throw
|
||||
// (2) equip something physical and adjust it with a other-hand grab without the thing drifting
|
||||
(!this.isInitialGrab && grabData.refCount > 1)) {
|
||||
grabData.refCount > 1) {
|
||||
noVelocity = true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue