Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

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 her, as a shot through the crosshair picks, so nothing between the eye and her back counts.

Parameter Type
world World
ray Ray
character? Entity

RayHit | undefined