How to move an enemy object from one position to another using multiple points?
I am making a tower defense game and I am trying to move My enemy object from the spawn point to the death point. I don't want it to move in a strait line so I am making my object move from one point to the next, and from there to the next point and so on. This will allow me to change the state of my enemies as they get in certain areas. However I am having trouble getting my enemies to move. I keep getting this error, "SetDestination" can only be called on an active agent that has been placed on a NavMesh. I have seen this question before and tried using the solution I found. The baking of the NavMesh did not work. I have tried this on multiple computers and it has worked for other games I have made. If anyone has a solution to this please help me.
Your answer
Follow this Question
Related Questions
How to do parpendicular movement of agent using Navigation (NavMesh)? 0 Answers
[NAVMESH] Door Destroy NavMesh Problem 0 Answers
Object's mesh does not move/rotate when object moves/rotates 0 Answers
How change the destination point if it is inside an obstacle? 0 Answers
Display maximum movement range with a non-grid-based system 0 Answers