I purchased the pro version today, and after upgrading to pro, I am having quite a few issues and unexpected results that I need some help with.
The game I am making is a top down 2D puzzle game.
The first issue I am having is that if i place the enemy with an attached AILerp script, the Seeker Script and the AI Destination setting script, next to a wall, the enemy will teleport or glitch to a random place in the level. The path he is on is valid its just close to a wall.
The second issue I am having is if I move an object in the path of the enemy, sometimes the enemy will move right through it. I am trying to update the graph when the object is moved so that the enemy knows it can’t move there however it feels like maybe I am not calling it fast enough if the enemy is too close? I really don’t know why it works sometimes and not others.
The last issue i have, is that if more than one enemy run into each other, they will just pass through each other. This could be the same as the second issue where the graph needs to be updated to know that there is an impassible object in the way?
One other note. I have the path being calculated then i check to see if it is possible to get to the target, If there is not a valid path to the target I then I disable the AI Destination Setter script, use the random function to roam around until it gets within a certain distance, then re-enable to AI destination setter script. is this the best way of doing this? or should I be doing something else?
Thanks for any help!