findRayHit
findRayHit(
world,ray,character?):RayHit|undefined
The first thing ray meets past character, by the engine’s reads of the
targets it draws and of cover: from abreast of the character, as a shot
through the crosshair picks, so nothing between the eye and
its back counts.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
world |
World |
ray |
Ray |
character? |
Entity |
Returns
Section titled “Returns”RayHit | undefined