I've followed a few tutorials on here but none seem to do what I'm looking for ...
So we have the Player, an Enemy and an Obstacle.
What i'd like to happen is this ...
If the Enemy has line of sight to the Player he starts to hunt and finds a path.
If he continues to see the player he will chase the Player
If he can no longer see the player he will move to the last point where he could see the Player, a timer counts down and once reached, if he can no longer see the Player, he'll return back to his original location.
Develop games in your browser. Powerful, performant & highly capable.
use the line of sight behavior with the pathfinding behavior and the manual