Skip to content

five-on-it / packages/sim/src/gear / aimSway

Function: aimSway() ​

aimSway(sim, eid): number

Defined in: packages/sim/src/gear.ts:135

The swing a gassed character's shot takes off its aim now (rad): a slow sway, a pure function of the tick and the character, so the server and a replay agree; 0 clear-headed.

Parameters ​

sim ​

SimWorld

eid ​

number

Returns ​

number