I have agents that are required to move to exact positions at various workplaces to then play their “job” animations. In some cases those are root motion or a sequence of animations.
I have it working but it’s very clunky and rough with lots of sliding and bad positioning/rotation. However the scenarios are only going to get more complex from here with more complicated position/animation sequences etc.
I’m assuming I need to separate concerns between what astar/moveTo can accomplish, then what I have to take over and do manually for finer levels of position/rotation/root motion and control?
My main question is if that logic is correct? Should I assume astar moveto will only get my agents “close” to their exact required position, then I have to take over control (right now I’m disabling richAI) to do my own tweening of movement/rotation to help sync the animations correctly. Especially when the animation requires root motion I need to essentially disconnect the agent from the astar/navesh? Then when the agent is done their job and moving to something new I turn the agent back on.
Or am I going about that wrong? Or is there a better way?