mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 05:58:35 +02:00
blend 50/50 between head and hands for search
This commit is contained in:
parent
0d4ac4387a
commit
c18a2fc264
1 changed files with 1 additions and 1 deletions
|
@ -790,7 +790,7 @@ function MyController(hand) {
|
||||||
var distantPickRay = {
|
var distantPickRay = {
|
||||||
origin: Camera.position,
|
origin: Camera.position,
|
||||||
//direction: Quat.getFront(Quat.multiply(Camera.orientation, handDeltaRotation)),
|
//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
|
length: PICK_MAX_DISTANCE
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue