Enum JointType2D
- Namespace
- Gravitas.Constraints
- Assembly
- Gravitas.dll
Identifies the deterministic pure 2D joint model solved by Gravitas.
public enum JointType2D : byte
Fields
Distance = 1Keeps two anchors at a configured distance while allowing free relative yaw.
Pin = 2Keeps two anchors coincident while allowing free relative yaw.
Prismatic = 4Keeps one link on a local slider axis with optional scalar translation limits.
Weld = 3Keeps two anchors coincident and constrains scalar relative yaw.