You see… the purple part is the target, and the car npc can only go on the green nodes.
My car has a system where it throttles or steering in targets, but how do i make it like so the Target objectvalue changes to the node it finds the best?
I’m not professional in A* and neural network, i barely even know how to use it.
Please help.
[Costs]: Table of materials or defined PathfindingModifiers and their cost for traversal. Useful for making the agent prefer certain materials/regions over others. See Pathfinding Modifiers for details.
Use “Costs” to detect the nodes you don’t want to drive on
(e.x you want to drive on concrete instead of grass)