0 votes
asked in FullBodyBipedIK by (160 points)

Hi,

Our character is using FBBIK. He's knee bends outwards when walking up a slope or stairs. 

The blue arrow on it's knee limb seems to be pointing in the proper direction. 

Do you have any idea what could be the problem?

I can send you our test project in private if necessary. 

Thanks!

1 Answer

+1 vote
answered by (4.4k points)
selected by
 
Best answer
Hey,

FBBIK tries to maintain the animated bending direction of the limb. If it bends like that, that means in the animation the leg bends in that direction and while the leg is straight it's not really visible, but when the Grounder moves the foot up, the problem becomes more visible. It might be a retargeting issue, where the leg angles don't retarget well for that particular Humanoid.

A quick fix would be to add Bend Goals for the legs, parent them to the root of the character and move them to a position in front of the knees. Also set "Bend Goal Weight" to 1 in the FBBIK leg settings. That way you'll get full control over the bending angle of the knees.

Sometimes it also helps to enable "Foot IK" in the locomotion animation states to improve the retargeting.

Sometimes it helps to go to the Avatar Configuration screen and rotate the thigh and knee bones very slightly inwards (like X legs). If you saw the opposite problem, you'd have to rotate them outwards (like O legs).

If none of that helps, I'll be happy to take a look at it if you can send me that character and animation fbx. (support@root-motion.com)

Best,

Pärtel
commented by (160 points)
Using Bend Goals worked!

Thanks!

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.

...