its meant to always go where the player goes which works but right now the player can just pillar up or go underground. check my (messy) code here: https://github.com/michiel1106/snail-test/tree/master it uses the A* pathing algorithm to always go where the player is.
If anyone has tips on how to improve it/ make the snail always able to go to the player?
(based on the snail from wild life from grian)