mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 13:13:25 +02: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