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

HitZone

One part of an entity a shot may strike: a sphere round at, or a capsule from at to to, and the times the weapon’s damage a hit there deals. Each point is in the entity’s own frame: metres from its feet, with its front along -z, the way an entity faces at rest. A point is an { x, y, z } record or a Vector3, either of which the stream carries as it came.

Property Type Description
at Vector3Like The sphere’s middle, or one end of the capsule’s axis.
multiplier number Times the weapon’s damage a hit here deals: 2 deals double.
name string What a hit carries as its zone, such as "head".
radius number -
to? Vector3Like The other end of the capsule’s axis; a sphere when left out.