Skip to content

Wheel structure

Gombaris edited this page Jul 17, 2024 · 4 revisions

wheel structure

type property description default
float radius (JS/Lua)
radius1 (C++)
outer tire radius [m] 1
float width tire width [m] 0.2
float suspension_max max.movement up from default position [m] 0.01
float suspension_min max.movement down from default position [m] -0.01
float suspension_stiffness suspension stiffness coefficient 5
float damping_compression damping coefficient for suspension compression 0.06
float damping_relaxation damping coefficient for suspension relaxation 0.04
float grip relative tire grip compared to an avg.tire, +-1 0
float slip_lateral_coef proportion of the slip used for sideways direction 1.5
bool differential true if the wheel is paired with another through a differential true

See also wheel_data and vehicle_script interface.