The Wonder Of Navigation Meshes
Hello again! This week I'm here to talk to you about Navigation Meshes. My story begins with the creation of our worshipers, little minions that are going to be the source of your power (and your tower's power). I created these little guys so that they'll follow you around - only problem is that at first, they didn't. The first time I spawned my little stone golem minion, I thought I could control it with a simple velocity call. I was completely wrong! It needs the MoveToLocation() function AND a navmesh. I learned the hard way because our original navmesh looked kind of like this - and the worshipers still didn't move. I had to dive deep into the workings of the navmesh and discovered another use for the NavMesh Modifier Volume. Up until now, we were using them to limit the navmesh. I discovered that you can use them to add weight to various sections of a navmesh in order to persuade the AI to take those paths instead! Our new...