mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
keep object from rotating during local grab
This commit is contained in:
parent
25f506f3dc
commit
cee296e70c
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue