I want/need to set the source mesh manually and the documentation tells me this is possible here:
https://arongranberg.com/astar/docs/createnavmesh.html
I can’t find a proper method or reference to do so when accessing AstarPath.active.graphs[0].
How would I go about this?
Hi
You need to cast it to the NavmeshGraph type. Or you can access the helper property.
AstarPath.active.data.navmesh.mesh = ...
AstarPath.active.Scan();