ShotMessage
Defined in: packages/engine/src/gameplay/replication/protocol.ts:199
A shot, fired from origin along direction, a unit vector. The room
judges it against where each target stood at step: the room’s step
the shooter’s picture showed as she fired, to the fraction of a step.
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
direction |
[number, number, number] |
- |
origin |
[number, number, number] |
- |
step |
number |
- |
type |
Shot |
- |
weapon |
string |
The weapon, by the name the world registered it under. |