Struct ARBPair
Represents a paired set of wheels for anti-roll bar calculation. Wheels are automatically paired by similar Z (fore-aft) and opposite X (left-right) positions.
Namespace: NWH.WheelController3D
Assembly: NWH.WheelController.dll
Syntax
public struct ARBPair
Fields
| Edit this page View SourceisValid
True when the pair was matched and can be processed.
Declaration
public bool isValid
Field Value
| Type | Description |
|---|---|
| bool |
leftWheel
Left (negative local X) wheel of the pair.
Declaration
public WheelController leftWheel
Field Value
| Type | Description |
|---|---|
| WheelController |
prevRollAngle
Roll angle from the previous substep, used for roll angular velocity.
Declaration
public float prevRollAngle
Field Value
| Type | Description |
|---|---|
| float |
rightWheel
Right (positive local X) wheel of the pair.
Declaration
public WheelController rightWheel
Field Value
| Type | Description |
|---|---|
| WheelController |
trackWidth
Lateral distance between the two wheels, in meters.
Declaration
public float trackWidth
Field Value
| Type | Description |
|---|---|
| float |