Merge pull request #5867 from sethalves/fix-grab

keep object from rotating during local grab
This commit is contained in:
Philip Rosedale 2015-09-21 14:11:59 -07:00
commit cd84848fd4

View file

@ -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();