- Home /
Question by
Irrelefant · Dec 14, 2017 at 08:04 AM ·
c#timenavmeshfunctionnavmeshagent
Pacman ghost behaviour
Hello,
I've now been trying to make a PacMan ghost like bahaviour for my navmesh agents, but I can't seem to wrap my head around it. Basically I want to change the state of the agents for a period of time after a random amount of time has elapsed and then reset that initial timer. I know how to set navmesh targets and all that, the only problem is getting that timed switch to work.
thanks in advance!
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612144550im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Looking forward while walking with navMeshAgent 1 Answer
How to get a velocity unit vector from a NavMeshAgent? 1 Answer
NavmeshAgent.remainingDistance remains at 0 but the agent still moves and behaves correctly 4 Answers
Navmesh error on instantiated navmesh agents 1 Answer
Navmesh agent forward movement 1 Answer