I'm making a ragdoll script with 3dgs physics engine, and for now it constraints the bone entities to each other with ph_ball. I want to limit the ph_ball constraint (for example: a shoulder: pan 0 to 110, tilt 90 to -90), but i don't know how.
I tried also with ph_hinge, but it has many bugs (objects going apart) and only 1 axis.
Any suggestion will be appreciated.

Tommaso Checchi