Skip to content

ProjectileFlight

Defined in: packages/engine/src/gameplay/weapons/traits.ts:37

A projectile in flight: the health it takes from the first target in its path, how fast it flies, the metres left of its range, and who fired it, whom it passes through.

Property Type
damage number
metresLeft number
shooter Entity | null
velocity Vector3