Skip to content

five-on-it / packages/sim/src/character / characterSystem

Function: characterSystem() ​

characterSystem(sim): void

Defined in: packages/sim/src/character.ts:1601

The character system: enter/exit/carjack/reset actions, aiming and firing, the item keys, the interaction key's other actions, lying knocked down, getting in and out of a car at its door, a carjack's beat, on-foot movement from the input (the facing follows the aim), and forwarding the driver's input to the car. Runs before the vehicle system.

Parameters ​

sim ​

SimWorld

Returns ​

void