docs.unity.cn
    Show / Hide Table of Contents

    Enum BodyMotionType

    Describes how a rigid body will be simulated in the run-time.

    Namespace: Unity.Physics.Authoring
    Syntax
    public enum BodyMotionType : int

    Fields

    Name Description Value
    Dynamic

    The physics solver will move the rigid body and handle its collision response with other bodies, based on its physical properties.

    Kinematic

    The physics solver will move the rigid body according to its velocity, but it will be treated as though it has infinite mass. It will generate a collision response with any rigid bodies that lie in its path of motion, but will not be affected by them.

    Static

    The physics solver will not move the rigid body. Any transformations applied to it will be treated as though it is teleporting.

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