Skip to content
Permalink
Browse files

WebXR Draft: fixing controllers rendering

  • Loading branch information...
Artem Bolgar authored and toji committed Feb 13, 2019
1 parent 0eae7b0 commit 8870b809e07b9a1491b37aa1430adb819be63f96
@@ -190,10 +190,10 @@
continue;
}
if (inputPose.gripMatrix) {
if (inputPose.gripTransform.matrix) {
// If we have a grip matrix use it to render a mesh showing the
// position of the controller.
scene.inputRenderer.addController(inputPose.gripMatrix);
scene.inputRenderer.addController(inputPose.gripTransform.matrix);
}
if (inputPose.targetRay) {

0 comments on commit 8870b80

Please sign in to comment.
You can’t perform that action at this time.