blend 50/50 between head and hands for search

This commit is contained in:
Philip Rosedale 2015-12-31 11:56:37 -08:00
parent 0d4ac4387a
commit c18a2fc264

View file

@ -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
};