After messing around with Idiomic’s pathfinder test from 2019.
I removed the walls and added the y axis so it could pathfind in a 3D space.
It’s pretty fast, if only it didn’t run a marathon just to get to the goal.
Pathfinder Test a.rbxl (32.8 KB)
I don’t know how to make this better as for I am brand new to pathfinding.
Could you explain a little more about your reference picture here? What are the blue squares, explored areas? If so, A* shouldn’t be exploring in that pattern and there is likely an issue with your cost function.
I’m not always active on here anymore, so you will get quicker responses on my Polaris-Nav discord server. Polaris-Nav is my replacement for the Roblox pathfinder. There are also many developers knowledgeable about pathfinding on there that could help.