return a list Vector3 for vertices and a list Line for edges.
What have you tried?
At the moment, for my cover, I am taking a set area and getting a point grid. for each point on the grid I raycast out in a box double the size as the point grid boxes, if it hits something it checks if the point is good cover.
For?
S&Box
What can't you do?
Get all the edges/verticies of a navmesh.
How would you like it to work?
return a list Vector3 for vertices and a list Line for edges.
What have you tried?
At the moment, for my cover, I am taking a set area and getting a point grid. for each point on the grid I raycast out in a box double the size as the point grid boxes, if it hits something it checks if the point is good cover.
https://github.com/Softsplit/sandbox-classic/blob/Testing/Code/AI/CoverFinder.cs