Hello all,
I have a nice walk cycle going with foot IK on a mecanim character. I am trying to add some pelvis sway in script and can’t find a way to do it. If I rotate the pelvis in LateUpdate(), after the IK calculations, the feet obviously will slide all over. If I do it in OnAnimatorIK(), I never see the sway, as I think mecanim must overwrite it?? Is there a place after mecanim finishes, and before IK is calculated where I can rotate the pelvis and still have the feet find their goals?? Or some other way I could approach it?? Thanks for any help!