@modoki/engine / index / JointType3D
Type Alias: JointType3D
JointType3D =
"spring"|"spherical"|"revolute"|"prismatic"|"fixed"|"rope"
3D joint type (Rapier impulse joints).
spring— soft distance spring between two anchor points (rest length + stiffness/damping).spherical— ball joint: the two anchors coincide, bodies free to rotate in ALL 3 axes (ragdolls, chains).revolute— hinge: anchors coincide, rotation free about ONE axis only (doors, wheels).prismatic— slider: relative motion locked to an axis, rotation locked (elevators, pistons).fixed— weld: relative position + orientation locked.rope— max-distance: bodies may approach but not exceedlength.