Skip to main content

Struct WheelControl.MatchInfoStruct

Defines which wheel model features to match with the corresponding WheelCollider.

[Serializable]
public struct WheelControl.MatchInfoStruct

Fields​

MatchPosition​

When enabled, the mesh will match the position of the WheelCollider.

[Tooltip("When enabled, the mesh will match the position of the WheelCollider.")]
public bool MatchPosition

Field Value​

bool

MatchRollRotation​

When enabled, the mesh will rotate to simulate the rolling motion of the WheelCollider.

[Tooltip("When enabled, the mesh will match the rolling rotation of the WheelCollider.")]
public bool MatchRollRotation

Field Value​

bool

MatchSteerRotation​

When enabled, the mesh will rotate to simulate the steering motion of the WheelCollider.

[Tooltip("When enabled, the mesh will match the steering rotation of the WheelCollider.")]
public bool MatchSteerRotation

Field Value​

bool

  • Fields
    • MatchPosition
    • MatchRollRotation
    • MatchSteerRotation