1
\$\begingroup\$

I want to limit the joint angle of my character. I have just one issue i can't get the value of the joint limits of the human -i search about max, min angle of each joint in x and y but i can't get them- can someone give me them.

\$\endgroup\$
2

1 Answer 1

1
\$\begingroup\$

How do I implement joint limits?

I usually implement joint limits with a simple if-statement. For example, this would work for revolute joints.

if (limb.rotation >  45.0f) limb.rotation =  45.0f;
if (limb.rotation < -45.0f) limb.rotation = -45.0f;

This works with Jacobian Methods, CCD Methods, or FABRIK Methods.

\$\endgroup\$
2
  • \$\begingroup\$ This question does not appear to be about implementation, but learning the relevant values to limit to. e.g. how far will a human foot bend upward. \$\endgroup\$
    – Weckar E.
    Aug 23, 2017 at 13:25
  • \$\begingroup\$ I would use 30deg and 180deg \$\endgroup\$
    – Luis B
    Aug 24, 2017 at 16:36

Not the answer you're looking for? Browse other questions tagged .