docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct WheelControl

    Control settings for the wheel.

    Implements
    IComponentData
    IQueryTypeParameter
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Vehicles
    Assembly: com.unity.vehicles.dll
    Syntax
    public struct WheelControl : IComponentData, IQueryTypeParameter

    Fields

    AckermanCoefficient

    This value represents the additional steering angle that will be applied to the wheel on the inside of the turning circle. There is no effect if the wheel does not share an axle with an another wheel. Set to 0 to disable.

    Declaration
    public float AckermanCoefficient
    Field Value
    Type Description
    float

    BrakeTorqueCoefficient

    The amount of brake torque this wheel can receive as a percentage of the MaxBrakeTorque.

    Declaration
    public float BrakeTorqueCoefficient
    Field Value
    Type Description
    float

    HandbrakeTorqueCoefficient

    Determines the strength of the handbrake for this wheel as a percentage of the MaxBrakeTorque.

    Declaration
    public float HandbrakeTorqueCoefficient
    Field Value
    Type Description
    float

    MaxSteerAngle

    Maximum wheel steer angle, in degrees. Can be negative to flip the steer direction.

    Declaration
    public float MaxSteerAngle
    Field Value
    Type Description
    float

    MotorTorqueCoefficient

    The amount of motor torque this wheel can receive as a percentage of the maximum motor torque available for this wheel.

    Declaration
    public float MotorTorqueCoefficient
    Field Value
    Type Description
    float

    SpinResistanceTorque

    The amount of spin resistance torque this wheel has when no motor torque is applied.

    Declaration
    public float SpinResistanceTorque
    Field Value
    Type Description
    float

    Implements

    IComponentData
    IQueryTypeParameter
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)