diff --git a/src/components/cursor-controller.js b/src/components/cursor-controller.js index 0947f60406f4f3d651b9134939c115d142a61013..1c3997b72d9a8a228f06109bd54ea6db8c7a6242 100644 --- a/src/components/cursor-controller.js +++ b/src/components/cursor-controller.js @@ -70,7 +70,6 @@ AFRAME.registerComponent("cursor-controller", { if (this.data.useMousePos) { this.setRaycasterWithMousePos(); } else { - //this.rayObject.updateMatrixWorld(); rayObjectRotation.setFromRotationMatrix(this.rayObject.matrixWorld); this.direction .set(0, 0, 1)