From cee296e70c3b76cc363244a9d123d2e4e16b3ba2 Mon Sep 17 00:00:00 2001 From: Seth Alves Date: Mon, 21 Sep 2015 13:50:42 -0700 Subject: [PATCH] keep object from rotating during local grab --- examples/controllers/handControllerGrab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/controllers/handControllerGrab.js b/examples/controllers/handControllerGrab.js index 56b710c5dd..f57e79e974 100644 --- a/examples/controllers/handControllerGrab.js +++ b/examples/controllers/handControllerGrab.js @@ -305,7 +305,7 @@ function controller(hand, triggerAction) { this.activateEntity(this.grabbedEntity); - var grabbedProperties = Entities.getEntityProperties(this.grabbedEntity, "position"); + var grabbedProperties = Entities.getEntityProperties(this.grabbedEntity, ["position", "rotation"]); var handRotation = this.getHandRotation(); var handPosition = this.getHandPosition();