Noticeable changes in height

I’m trying to make my AI’s movement going upstairs look more natural, but even with IK it still looks very abrupt, any tips on improving this? Using RichAI and root motion.

Video

Hi

When using the RichAI script without a CharacterController it will use a raycast to position itself every frame.
If you want to adjust the y-coordinate in some other way, you could disable the agent’s sync with the Transform (ai.updatePosition = false) and then sync the Transform to the ai’s position in your own custom way.

void Update () {
    ai.updatePosition = false;
    transform.position = ai.position; // Do something custom here
}
1 Like