mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-07-24 09:13:55 +02:00
Fixed styling errors
This commit is contained in:
parent
efc2dfb68f
commit
aac372cc8a
1 changed files with 68 additions and 68 deletions
|
@ -327,8 +327,7 @@ function MyController(hand, triggerAction) {
|
||||||
var handControllerPosition = Controller.getSpatialControlPosition(this.palm);
|
var handControllerPosition = Controller.getSpatialControlPosition(this.palm);
|
||||||
var handRotation = Quat.multiply(MyAvatar.orientation, Controller.getSpatialControlRawRotation(this.palm));
|
var handRotation = Quat.multiply(MyAvatar.orientation, Controller.getSpatialControlRawRotation(this.palm));
|
||||||
var grabbedProperties = Entities.getEntityProperties(this.grabbedEntity, ["position", "rotation",
|
var grabbedProperties = Entities.getEntityProperties(this.grabbedEntity, ["position", "rotation",
|
||||||
"gravity", "ignoreForCollisions"
|
"gravity", "ignoreForCollisions"]);
|
||||||
]);
|
|
||||||
|
|
||||||
// add the action and initialize some variables
|
// add the action and initialize some variables
|
||||||
this.currentObjectPosition = grabbedProperties.position;
|
this.currentObjectPosition = grabbedProperties.position;
|
||||||
|
@ -455,7 +454,8 @@ function MyController(hand, triggerAction) {
|
||||||
|
|
||||||
this.lineOff();
|
this.lineOff();
|
||||||
|
|
||||||
var grabbedProperties = Entities.getEntityProperties(this.grabbedEntity, ["position", "rotation", "gravity", "ignoreForCollisions"]);
|
var grabbedProperties = Entities.getEntityProperties(this.grabbedEntity,
|
||||||
|
["position", "rotation", "gravity", "ignoreForCollisions"]);
|
||||||
this.activateEntity(this.grabbedEntity, grabbedProperties);
|
this.activateEntity(this.grabbedEntity, grabbedProperties);
|
||||||
|
|
||||||
var handRotation = this.getHandRotation();
|
var handRotation = this.getHandRotation();
|
||||||
|
|
Loading…
Reference in a new issue