I’m trying to make my object finish at the end of the path instead of a few units in front of it, for that purpose
I’m trying to use PathEndingCondition but i get this error:
Assests/Astar.cs(27,28): error CS0246: The type or namespace name ‘PathEndingCondition’ could not be found.
I have made sure that i am using the correct namespace.
and have even tried copy pasting it word for word and get the same issue.
(In regards to the pathendingcondition in the example i have tried with both ABPathEndingCondition and just PathEndingCondition)
Well i guess that is the problem, that folder only contains ABPath.cs for me. I am importing the pathfinding package by double clicking the package file while i have the relevant project open in unity. I have also imported via the unity assets>ImportPackage>custompackage and get the same result.
Right, sorry, that script was from the beta. I didn’t think I had changed that many things in it, but some were apparently changed. Try changing that to NodeRun instead.
You can remove everything but the actual PathEndingCondition class.