itch.io is community of indie game creators and players

Devlogs

Tutorial 03: Navigation Mesh

UTAS KIT207 Portfolio
A downloadable project

Navmesh Generation

Using the AI Navigation package I generated a navigation mesh to make AI move around the map. I added a script to make my character move to where I click on the map using raycasts.

As you can see it works perfectly!... It seems I need to fix the models rotation in blender... and also fix animations....

Enemy AI

I changed the click to move script to instead spawn enemy AI attached with an additional script that would make them follow the player. I reverted the players controls back to WASD input. To fix up the animations for the AI I changed the trigger from WASD to the magnitude of their velocity being over 0.

Follow script:

Now lets see it in action.

The evil moon-walking clones work!

Download UTAS KIT207 Portfolio
Leave a comment