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 |