Tutorial 3


This is a devlog for Tutorial 3 of my portfolio.

This tutorial was about adding navigation mesh to our terrain. For this exercise, I needed to create a moving obstacle and to spawn an enemy that will follow the player around the environment. 

For the moving obstacle, I used my barrel that I made in the previous self-study and used the script to make it so it goes back and forth based on the position its given. For spawning an AI that will follow a player, I created a script so when you left click on the terrain, it will spawn an AI and will follow the player by using the player's position. Here's the gif which shows what I mentioned above:


It took me a while to get the script to work. It was good to relearn some bit of scripting. 

Leave a comment

Log in with itch.io to leave a comment.