Skip to content

ShotTest

Defined in: packages/engine/src/gameplay/weapons/aim.ts:9

A shot’s ray against one walker’s capsule.

Property Type Description
body Pick<WalkerBody, "radius" | "height"> -
feet Vector3 Where the walker’s feet stand.
range number Metres along the ray the shot reaches.
ray Ray -