Skip to content

SteeringProfile

public sealed class SteeringProfile

Namespace Chassis.Api

A steering wheel in the model that turns with the road wheels.

public string Path = string.Empty

Pivot of the steering wheel below the frame; a single name is searched in the whole frame.

Value A path like “Dashboard/SteeringWheel” or one name like “SteeringWheel”. The base interior’s wheel is “Chassis_Wheel”.

public Vector3 Axis = Vector3.forward

Column axis in the pivot’s own space at rest.

Value A direction: (0, 0, 1) when the pivot’s forward axis runs along the column, (0, 1, 0) when its up axis does.

public float Ratio = 5f

Steering wheel degrees per degree of road wheel.

public float Max = 170f

The wheel stops at this many degrees either way.

public float Sign

+1 or -1 for the turning direction; 0 works it out so a right turn moves the top of the wheel right.