CoverTest
A shot’s ray and the metres it reaches, the target it would hit, and those past it a piercing shot may still hit, whose own bodies are never cover in front of them: a crate with health is judged by a capsule its box stands outside.
Extends
Section titled “Extends”Pick<ShotTest,"ray"|"range">
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
range |
number |
Metres along the ray the shot reaches. |
ray |
Ray |
- |
target? |
Entity | null |
- |
through? |
readonly Entity[] |
- |