transform from constraint space to body 1 space
transform from constraint space to body 2 space
attachment point on body 1 in local space
attachment point on body 2 in local space
maximum friction torque (N*m) when not powered by motor
motor constraint parts (twist=0, swingY=1, swingZ=2)
normal half cone angle (radians) - swing limit around Z axis
plane half cone angle (radians) - swing limit around Y axis
point constraint for translation (3 DOF)
swing motor settings (spring + torque limits)
swing motor state
swing-twist constraint part for rotation limits
target angular velocity in constraint space of body 2
target orientation in constraint space
maximum twist angle (radians), in [-PI, PI]
minimum twist angle (radians), in [-PI, PI]
twist motor settings (spring + torque limits)
twist motor state
world space motor axes (X, Y, Z)
SwingTwistConstraint is a sophisticated constraint for humanoid ragdoll joints. It allows limited rotation with separate swing and twist limits.