docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct VehicleWheelEvent

    Stores events related to the vehicle wheels

    Implements
    IBufferElementData
    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
    [InternalBufferCapacity(0)]
    public struct VehicleWheelEvent : IBufferElementData

    Fields

    WheelAngularVelocity

    The wheel angular velocity, at the moment of the event

    Declaration
    public float WheelAngularVelocity
    Field Value
    Type Description
    float

    WheelEntity

    The wheel entity affected by the event

    Declaration
    public Entity WheelEntity
    Field Value
    Type Description
    Entity

    WheelSuspensionLocalTransform

    The wheel suspension's local transform relative to the vehicle, at the moment of the event

    Declaration
    public RigidTransform WheelSuspensionLocalTransform
    Field Value
    Type Description
    RigidTransform

    wheelEventType

    The event type

    Declaration
    public VehicleWheelEvent.VehicleWheelEventType wheelEventType
    Field Value
    Type Description
    VehicleWheelEvent.VehicleWheelEventType

    Implements

    IBufferElementData
    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)