docs.unity.cn
    Show / Hide Table of Contents

    Enum ForceMode

    Different ways to apply changes to a rigid body's velocity.

    Namespace: Unity.Physics.Extensions
    Syntax
    public enum ForceMode : int

    Fields

    Name Description Value
    Acceleration

    Apply an instant velocity change to the rigid body, ignoring its mass.

    Force

    Apply a continuous force to the rigid body, using its mass.

    Impulse

    Apply a continuous acceleration to the rigid body, ignoring its mass.

    VelocityChange

    Apply an instant force impulse to the rigid body, using its mass.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Tuesday, April 26, 2022
    Terms of use