docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct WheelAuthoring.FrictionCurveData

    Data for the wheel friction curve

    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
    [Serializable]
    public struct WheelAuthoring.FrictionCurveData

    Fields

    FrictionCurveMaximum

    Peak value of the friction curve. X represents slip and Y represents the grip coefficient. Peak friction happens when there is just enough slip to load the tire, but not enough that it starts sliding. High friction curve stiffness (X lesser than 0.1 or high Y values) should be avoided in case of low physics update rates or when using low number of sub-steps on the Vehicle to prevent the friction from over-correcting and causing jitter.

    Declaration
    [Tooltip("Peak value of the friction curve. X represents slip and Y represents the grip coefficient. Peak friction happens when there is just enough slip to load the tire, but not enough that it starts sliding. High friction curve stiffness (X < 0.1 or high Y values) should be avoided in case of low physics update rates or when using low number of sub-steps on the Vehc to prevent the friction from over-correcting and causing jitter.")]
    public Vector2 FrictionCurveMaximum
    Field Value
    Type Description
    Vector2

    FrictionCurveMinimum

    Minimum value of the friction curve, after the peak. X represents slip and Y represents the grip coefficient. This value is relevant when the wheel has enough slip to have already passed the friction peak and is now sliding around. The X value should always be higher than the X value of the FrictionCurveMaximum.

    Declaration
    [Tooltip("Minimum value of the friction curve, after the peak. X represents slip and Y represents the grip coefficient. This value is relevant when the wheel has enough slip to have already passed the friction peak and is now sliding around. The X value should always be higher than the X value of the FrictionCurveMaximum.")]
    public Vector2 FrictionCurveMinimum
    Field Value
    Type Description
    Vector2

    Methods

    GetDefault()

    Gets the default friction curve data

    Declaration
    public static WheelAuthoring.FrictionCurveData GetDefault()
    Returns
    Type Description
    WheelAuthoring.FrictionCurveData

    The default friction curve data

    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)