Skip to content
Snippets Groups Projects
Unverified Commit 5a38690e authored by Marshall Quander's avatar Marshall Quander Committed by GitHub
Browse files

Merge pull request #456 from mozilla/remove-reverse-z-entities

Remove reverse-z entities
parents 11e68a83 27d53f56
No related branches found
No related tags found
No related merge requests found
......@@ -65,7 +65,7 @@ AFRAME.registerComponent("cursor-controller", {
const rayObject = this.data.rayObject.object3D;
rayObjectRotation.setFromRotationMatrix(rayObject.matrixWorld);
this.direction
.set(0, 0, 1)
.set(0, 0, -1)
.applyQuaternion(rayObjectRotation)
.normalize();
this.origin.setFromMatrixPosition(rayObject.matrixWorld);
......
......@@ -40,15 +40,15 @@
vr-mode-ui="enabled: false"
pinch-to-move
input-configurator="
gazeCursorRayObject: #player-camera-reverse-z;
gazeCursorRayObject: #player-camera;
cursorController: #cursor-controller;
gazeTeleporter: #gaze-teleport;
camera: #player-camera;
playerRig: #player-rig;
leftController: #player-left-controller;
leftControllerRayObject: #player-left-controller-reverse-z;
leftControllerRayObject: #player-left-controller;
rightController: #player-right-controller;
rightControllerRayObject: #player-right-controller-reverse-z;"
rightControllerRayObject: #player-right-controller;"
>
<a-assets>
......@@ -320,7 +320,6 @@
hitOpacity: 0.3;
missOpacity: 0.2;"
></a-entity>
<a-entity id="player-camera-reverse-z" rotation="0 180 0"></a-entity>
</a-entity>
<a-entity
......@@ -342,7 +341,6 @@
mixin="controller-super-hands"
controls-shape-offset
>
<a-entity id="player-left-controller-reverse-z" rotation="0 180 0"></a-entity>
</a-entity>
<a-entity
......@@ -364,7 +362,6 @@
mixin="controller-super-hands"
controls-shape-offset
>
<a-entity id="player-right-controller-reverse-z" rotation="0 180 0"></a-entity>
</a-entity>
<a-entity gltf-model-plus="inflate: true;"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment