mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 14:10:40 +02:00
Merge pull request #5867 from sethalves/fix-grab
keep object from rotating during local grab
This commit is contained in:
commit
cd84848fd4
1 changed files with 1 additions and 1 deletions
|
@ -305,7 +305,7 @@ function controller(hand, triggerAction) {
|
||||||
|
|
||||||
this.activateEntity(this.grabbedEntity);
|
this.activateEntity(this.grabbedEntity);
|
||||||
|
|
||||||
var grabbedProperties = Entities.getEntityProperties(this.grabbedEntity, "position");
|
var grabbedProperties = Entities.getEntityProperties(this.grabbedEntity, ["position", "rotation"]);
|
||||||
|
|
||||||
var handRotation = this.getHandRotation();
|
var handRotation = this.getHandRotation();
|
||||||
var handPosition = this.getHandPosition();
|
var handPosition = this.getHandPosition();
|
||||||
|
|
Loading…
Reference in a new issue