Im making a game inclouding an NPC that chases players, ive made the code for the pathfinding and ive used similar code before but now it fails to generate a path but if it does it does not follow the path, just walks in place (no parts are anchored in the NPC), Ive added useless code that i tought would fix it but it didnt.
If anyone can provide code that works similarly / can replace my current messy and non functioning code that would help. If you want my current bad code ill give it. (I think anyone would cry or have a heart attack if they saw it)
Im going to rework the code and hope it works.
I got it working