mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 01:24:03 +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 = {
|
||||
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
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue