Skip to content

Commit

Permalink
fix regression
Browse files Browse the repository at this point in the history
  • Loading branch information
CedricGuillemet committed Mar 25, 2024
1 parent a167c8c commit 8ca757b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ export class SixDofDragBehavior extends BaseSixDofDragBehavior {

if (pointerCount === 1) {
this._targetPosition.copyFrom(this._ownerNode.absolutePosition);
this._targetOrientation.copyFrom(this._ownerNode.absoluteRotationQuaternion);
this._targetOrientation.copyFrom(this._ownerNode.rotationQuaternion);
this._targetScaling.copyFrom(this._ownerNode.absoluteScaling);

if (this.faceCameraOnDragStart && this._scene.activeCamera) {
Expand Down

0 comments on commit 8ca757b

Please sign in to comment.