2D AI Pathfinding

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By JeremiasDev

Hello, I want to make a skeleton that follows players and dodges obstacles like trees.

Also my enemy is a skeleton.

I have a buliding system where i can place trees… and the trees must be a obstacle. The trees has a interaction function. Where the player can axe the tree.
How can i make it?