Skip to content

Commit 2c480de

Browse files
committed
WebXRManager: Use pointerMatrix instead of gripMatrix (Cardboard support).
1 parent 626ae6e commit 2c480de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/renderers/webvr/WebXRManager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ function WebXRManager( renderer ) {
241241

242242
if ( inputPose !== null ) {
243243

244-
controller.matrix.elements = inputPose.gripMatrix;
244+
controller.matrix.elements = inputPose.pointerMatrix;
245245
controller.matrix.decompose( controller.position, controller.rotation, controller.scale );
246246
controller.visible = true;
247247

0 commit comments

Comments
 (0)