- Home /
Question by
JoeD86 · Feb 16 at 09:34 PM ·
rotationainavmeshagent
Best way to rotate a NavMesh AI to face the player or a specific direction?
I am coding AI for a stealth game and what I need is to be able to A: Make it rotate to face the player once it's close enough (I don't want to just use lookat, I want a smooth natural rotation), and B: when it returns to it's original point, to also rotate to the direction it was originally facing. How does one do this while keeping the Nav Mesh Agent working at all times?
Comment