docs.unity3d.com
    Show / Hide Table of Contents

    Enum ConstraintType

    Values that represent constraint types.

    Namespace: Unity.Physics
    Syntax
    public enum ConstraintType : byte

    Fields

    Name Description Value
    Linear

    An enum constant representing the linear type.


    0
    Angular

    An enum constant representing the angular type.


    1
    RotationMotor

    An enum constant representing the rotation motor type.


    2
    AngularVelocityMotor

    An enum constant representing the angular velocity motor type.


    3
    PositionMotor

    An enum constant representing the position motor type.


    4
    LinearVelocityMotor

    An enum constant representing the linear velocity motor type.


    5
    In This Article
    • Fields
    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