From 11ab97e0fc6257b8c0ca3c42e78fa29455353e96 Mon Sep 17 00:00:00 2001 From: Philip Rosedale Date: Tue, 12 May 2015 13:11:11 -0700 Subject: [PATCH] update position and rotation from the script, even though we should not have to. --- examples/grab.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/grab.js b/examples/grab.js index 552a194100..97dcfa52a5 100644 --- a/examples/grab.js +++ b/examples/grab.js @@ -243,9 +243,11 @@ function update(deltaTime) { } Entities.editEntity(grabbedEntity, { + position: currentPosition, + rotation: currentRotation, velocity: newVelocity, angularVelocity: angularVelocity - }) + }); updateDropLine(targetPosition); } }