code
most common variables that will modify vehicle behavior
driveCX.maxTorque [engine strength]
wheelColl.stiffness [sidewayfriction.stiffness for slippin]
wheelColl.wheelDampingRate [affects how fast vehicle stops]
driveCX.burn.forceCoef [sideway force when slippin]
driveCX.brake.force [brake force when slippin]
to drive a car without actor inside
set driveCX.canDrive true
set driveCX.driverIn true
to be able to do donuts
set driveCX.burn.typ to onBrakeSetSlip
affected by: driveCX.burn.forceCoef [the side force] and driveCX.brake.force
STEERING
.inc.steerFwd
.steer.speed [good value is around 4]
.steer.speedCo
this curve adds more precise steering by slower steering at input start
.wheelx
makes possible to dynamically change wheelColl values
the default wheelColl values are saved to .wheelx[0] at start
.slip
adds smoke when the vehicle is skidding
pooling : saved to folder [slip.fold]
value : the sidewaysSlip value over which the smoke starts
Last updated