docs.unity.cn
    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
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023