chickadee » physics » create-rotary-limit-joint

create-rotary-limit-joint body-a body-b min maxprocedure

Constrains the relative rotations of two bodies. min and max are the angular limits in radians. It is implemented so that it’s possible to for the range to be greater than a full revolution.