diff --git a/src/components/input-configurator.js b/src/components/input-configurator.js index b761deefe6fecef65714350763c05e0b6c8794d4..a5bcc0cd6cdd72a0105c7ea1d0161368b4fd4cd1 100644 --- a/src/components/input-configurator.js +++ b/src/components/input-configurator.js @@ -157,7 +157,7 @@ AFRAME.registerComponent("input-configurator", { const hand = controllerData.handedness; this.controller = controllerData.controller; this.cursor.el.setAttribute("cursor-controller", { - rayObject: this.hand === "left" ? this.data.leftControllerRayObject : this.data.rightControllerRayObject + rayObject: hand === "left" ? this.data.leftControllerRayObject : this.data.rightControllerRayObject }); } else { this.controller = null;