docs.unity.cn
    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)

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

    Fields

    Angular

    Damping applied to the angular velocity.

    Declaration
    public float Angular
    Field Value
    Type Description
    Single

    Linear

    Damping applied to the linear velocity.

    Declaration
    public float Linear
    Field Value
    Type Description
    Single
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023