docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct PhysicsDamping

    Optional damping applied to the rigid body velocities during each simulation step. This scales the velocities using: math.clamp(1 - damping * Timestep, 0, 1)

    Implements
    IComponentData
    IQueryTypeParameter
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Physics
    Assembly: Unity.Physics.dll
    Syntax
    public struct PhysicsDamping : IComponentData, IQueryTypeParameter

    Fields

    Angular

    Damping applied to the angular velocity.

    Declaration
    public float Angular
    Field Value
    Type Description
    float

    Linear

    Damping applied to the linear velocity.

    Declaration
    public float Linear
    Field Value
    Type Description
    float

    Implements

    Unity.Entities.IComponentData
    Unity.Entities.IQueryTypeParameter
    In This Article
    Back to top
    Copyright © 2024 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)