Skip to content

five-on-it / packages/sim/src/vehicle / vehicleSystem

Function: vehicleSystem() ​

vehicleSystem(sim): void

Defined in: packages/sim/src/vehicle.ts:959

The vehicle system: turns PlayerInput into controller forces for every vehicle and runs the controllers' suspension/traction update. Called before the physics step.

Parameters ​

sim ​

SimWorld

Returns ​

void