diff --git a/examples/controllers/handControllerGrab.js b/examples/controllers/handControllerGrab.js index 732f2f3513..7f363c47ae 100644 --- a/examples/controllers/handControllerGrab.js +++ b/examples/controllers/handControllerGrab.js @@ -1228,6 +1228,7 @@ function update() { Messages.subscribe('Hifi-Beam-Disabler'); handleBeamDisablerMessages = function(channel, message, sender) { + print('GOT MESSAGE:::'+message) handToDisable = message; if (message === 'left') { handToDisable = 1; diff --git a/examples/toybox/bow/bow.js b/examples/toybox/bow/bow.js index 4d8b7ae0d7..fad5148992 100644 --- a/examples/toybox/bow/bow.js +++ b/examples/toybox/bow/bow.js @@ -441,17 +441,13 @@ if (this.initialHand === 'left') { triggerLookup=1; this.getStringHandPosition = MyAvatar.getRightPalmPosition; - // this.stringTriggerAction = Controller.findAction("RIGHT_HAND_CLICK"); } else if (this.initialHand === 'right') { this.getStringHandPosition = MyAvatar.getLeftPalmPosition; triggerLookup=0; - // this.stringTriggerAction = Controller.findAction("LEFT_HAND_CLICK"); } this.triggerValue = Controller.getValue(TRIGGER_CONTROLS[triggerLookup]); - // this.triggerValue = Controller.getActionValue(this.stringTriggerAction); - print('TRIGGER VALUE:::' + this.triggerValue); if (this.triggerValue < DRAW_STRING_THRESHOLD && this.stringDrawn === true) { // firing the arrow