From be001a652ffdf6aea2ba3ce468618b6893d3c91c Mon Sep 17 00:00:00 2001 From: Seth Alves Date: Tue, 19 Jul 2016 11:50:53 -0700 Subject: [PATCH] when doing a parenting grab, zero velocity --- scripts/system/controllers/handControllerGrab.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/system/controllers/handControllerGrab.js b/scripts/system/controllers/handControllerGrab.js index cf8146fba9..e5fb48abcd 100644 --- a/scripts/system/controllers/handControllerGrab.js +++ b/scripts/system/controllers/handControllerGrab.js @@ -1922,7 +1922,9 @@ function MyController(hand) { var handJointIndex = MyAvatar.getJointIndex(this.hand === RIGHT_HAND ? "RightHand" : "LeftHand"); var reparentProps = { parentID: MyAvatar.sessionUUID, - parentJointIndex: handJointIndex + parentJointIndex: handJointIndex, + velocity: {x: 0, y: 0, z: 0}, + angularVelocity: {x: 0, y: 0, z: 0} }; if (hasPresetPosition) { reparentProps["localPosition"] = this.offsetPosition;