Hi everyone
It might be a stupid question, but here goes! I was wondering how the AI continues to move towards the last known position of the player?
As I see it, should the target in the Fighter.cs not become null since we Cancel the action when the player exceeds the chaseDistance?
Does this mean that the Fighter’s target becomes null, but the call for the method in Fighter - MoveTo(target.transform.position) in update, is still executed, thus it moves towards the last known position?
Hope someone can help me understand
Best Regards
Despo