body id for body a
body id for body b
Optionalconstraintan integer in [0, 2^32), as jolt's uint32: solved in ascending order, so the highest is solved last and is most likely to hold
hinge axis on body a (will be normalized)
hinge axis on body b (will be normalized)
Optionallimitsmaximum angle limit in radians, in [0, PI] (default: PI)
Optionallimitsminimum angle limit in radians, in [-PI, 0] (default: -PI)
Optionallimitsspring settings for soft limits
Optionalmaxmaximum friction torque when motor is off
Optionalmotormotor settings (spring + torque limits)
normal axis perpendicular to hinge on body a (for angle reference)
normal axis perpendicular to hinge on body b (for angle reference)
Optionalnumoverride number of position solver iterations (0 = use default)
Optionalnumoverride number of velocity solver iterations (0 = use default)
pivot point on body a
pivot point on body b
Optionalspaceconstraint space
settings for creating a hinge constraint