Enum BodyMotionType | Unity Physics | 0.5.1-preview.2
docs.unity3d.com
    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

    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.

    0
    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.

    1
    Static

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

    2
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023