A* Pathfinding Project

I need some Help


#1

Hello, I was wondering about what was the most optimal “Scale” on Unity to use the Pathfinding system. I’m currently using a 1 Unity units to 10 meters, but it appears to be too small for the gizmos to be drawn properly.


#2

Hi

The most common scale is 1 unit = 1 meter, but it depends on what the natural scale for your game is (you would not use this for an interplanetary space game of course).

Generally you should keep your coordinates within about ±10000 to keep floating point errors low.
Also the package cannot represent distances smaller than 0.001 units, so keep well away from that too.

The gizmos should scale to any size, however I know it does sometimes displays circles with a too low poly count. The current beta has better gizmo drawing.