Simple AI with NavMesh

I worked this week with the Navigation Meshes in Unity. With NavMesh it is possible to get quickly a very decent AI for in our game the NPCs of the game. I added a script in which the assigned NavMesh Agent has several states like aggressive, escaping or passive. In the Passive state the agent can be assigned to some Gameobjects with Colliders and he will follow this  Path, to mimic in the future game for example the office life.

NavMesh

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s