0 votes
asked in FullBodyBipedIK by (19.5k points)
I tried to add RotationLimit components to the bones of my character using FBBIK, but they do not seem to work. How do I prevent the bones from getting into unnatural rotations with FBBIK?

1 Answer

0 votes
answered by (19.5k points)
Yes, the rotation limits do not work with FBBIK. Strict limitations of bone rotations are not good for animated characters in general, you'd see the bones jump from one end of the limit to the other quite frequently and they would not even guarantee hands not going into the body as combinations of valid bone rotations might still end up with invalid hand positions. It is possible to apply the rotation limits on top of FBBIK though. You'd have to make a script that disables all the RotationLimit components and calls rotationLimit.Apply() on them in LateUpdate. Then assign that script to a higher value in the Script Execution Order than FullBodyBipedIK has.

If the problem is related to the elbows getting into the body, it can also be prevented by assigning a "Bend Goal" to the arm and setting "Bend Goal Weight" to a value higher than 0.

Welcome to RootMotion Q&A, where you can ask questions and receive answers from the developer of Final IK and PuppetMaster and other members of the community.

Post as a guest, create an account or login via Facebook.

Please use the correct category when you post your questions.