Physics Type Configuration

Configures a path following (driving) style.

CreateDrivingStyle(string ident)
Multiple
ident: Identifier of the physics type.
MinimumDist(float dist)
Optional(1), dist required
dist: Distance in metres.
Unit will complete path following when it comes to a rest within this distance of end point.
CornerShaving(float dist)
Optional(3), dist required
dist: Distance in metres.
Unit will turn towards next waypoint when within this distance of current waypoint.
AccAngle(float angle)
Optional(3), angle required
angle: Angle in degrees.
Unit will begin accelerating when heading is within this many degrees of the next waypoint.
OopsMissedIt(float angle)
Optional(45), angle required
angle: Angle in degrees.
Unit will slam on brakes and turn rapidly if heading is more than this many degrees from next waypoint.
ThrottleScale(float factor)
Optional(1), factor required
factor: Multiplier.
All throttle input from the engine is scaled up/down by this amount by the driver.
GiveUpDist(float dist)
Optional(16), dist required
dist: Distance in metres.
Unit will give up if it is within this distance of the endpoint and it is unable to progress forward.
VelocFilter(float coefficient)
Optional(0.1), coefficient required
coefficient: Filter coefficient.
Filter value applied to calculate smoothed velocity. The smoothed values of velocity, etc. reflects the smoothed over the short term past. These values are shown on the physics mono panel.
ThrottleFilter(float coefficient)
Optional(0.1), coefficient required
coefficient: Filter coefficient.
Filter value applied to calculate smoothed throttle.
SteerFilter(float coefficient)
Optional(0.1), coefficient required
coefficient: Filter coefficient.
Filter value applied to calculate smoothed steering.