- Home /
Question by
Fuzzinator · Jul 28, 2017 at 05:26 AM ·
c#rotationainavmeshnavmeshagent
NavMeshAgent resume original position and facing direction C#
So I'm try to create a game that has sentry's AI that when they hear something they go and investigate what it is. I've gotten down a simple system to hear the sounds made and to go to the origin of the sound and then return back to where the sentry AI came from, however i want them to then face forward again and instead they are facing backwards. So i'm trying to figure out how to control the rotation of a NavMeshAgent so i can resume its original rotation/orientation. I am working specifically in c#. Thanks!
Comment
Posting your code will help others provide proper solutions.