There are two things I need some help with for the Navmesh in Makinom please.
Here is my objective:
This schematic should loop to allow constant movement of the navmesh agent (enemy) either to random waypoints or to the player.
It works but isn't exactly as I need. Here are my 2 main problems.
1. Randomly have the Navmesh agent (enemy) move to player. Not follow always, just go to the Player position randomly, if player is still at the position than he's hit but if not, the navmesh agent will just move to a random point.
Currently they do not go to the player position at all, they go random waypoints.
2. Have the Navmesh agent (enemy) choose better random waypoints. They tend to go around randomly at first then just stay in one spot and do not go to other random waypoints. Sometimes when they stay in one spot they will move elsewhere but it is VERY rare.