when releasing a near-grab, zero velocity if there is another grab, regardless of the isInitialGrab flag

This commit is contained in:
Seth Alves 2016-02-23 16:47:05 -08:00
parent efca6ecb1d
commit 7fb67e487e

View file

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