Skip to content

Commit 012540c

Browse files
committed
WIP - rotation to localRotation - fixed controller orientation bug
1 parent b708c12 commit 012540c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Packages/webxr-interactions/Runtime/Scripts/ControllerInteraction.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ void LoadInputModel()
234234
var inputProfileModelTransform = inputProfileModel.transform;
235235
inputProfileModelTransform.SetParent(inputProfileModelParent.transform);
236236
inputProfileModelTransform.localPosition = Vector3.zero;
237-
inputProfileModelTransform.rotation = Quaternion.identity;
237+
inputProfileModelTransform.localRotation = Quaternion.identity;
238238
inputProfileModelTransform.localScale = Vector3.one;
239239
UpdateModelInput();
240240
}

0 commit comments

Comments
 (0)