keep object from rotating during local grab

This commit is contained in:
Seth Alves 2015-09-21 13:50:42 -07:00
parent 25f506f3dc
commit cee296e70c

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