From c18a2fc2645b9c6ed2619a839c9b483093e183c5 Mon Sep 17 00:00:00 2001 From: Philip Rosedale Date: Thu, 31 Dec 2015 11:56:37 -0800 Subject: [PATCH] blend 50/50 between head and hands for search --- examples/controllers/handControllerGrab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/controllers/handControllerGrab.js b/examples/controllers/handControllerGrab.js index e747bb0897..df36366326 100644 --- a/examples/controllers/handControllerGrab.js +++ b/examples/controllers/handControllerGrab.js @@ -790,7 +790,7 @@ function MyController(hand) { var distantPickRay = { origin: Camera.position, //direction: Quat.getFront(Quat.multiply(Camera.orientation, handDeltaRotation)), - direction: Quat.getUp(this.getHandRotation()), + direction: Vec3.mix(Quat.getUp(this.getHandRotation()), Quat.getFront(Camera.orientation), 0.5), length: PICK_MAX_DISTANCE };