I'am using Arons A* pathfinding.
I want a character to move from one point to another. I'am just starting with unity and these are my first scripts.
The script doesn't give any errors, but it doesn't work.
What is wrong?
currentttarget = 0; <---- You have 3 lower case "T"s here
currentTarget = 0; <--- should look like this
Rather than check the remaining distance is <=0, maybe try <=.1 The distance returned is probably not negative, and might never really equal 0, so just check if its close.