mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-07 10:02:24 +02:00
Update shortbow spawning to use precise picking to find the ground
This commit is contained in:
parent
85099513cd
commit
e47b1be9cf
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ utils = {
|
|||
var result = Entities.findRayIntersection({
|
||||
origin: pos,
|
||||
direction: { x: 0.0, y: -1.0, z: 0.0 }
|
||||
});
|
||||
}, true);
|
||||
if (result.intersects) {
|
||||
return result.intersection;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue