Update shortbow spawning to use precise picking to find the ground

This commit is contained in:
Ryan Huffman 2017-02-24 14:48:22 -08:00
parent 85099513cd
commit e47b1be9cf

View file

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