Hi, I did some research in the source code and may have found how to get a navmesh on the whole sphere:
I just removed these lines from NavmeshBase.cs, line 885:
// Make sure the triangle is clockwise in graph space (it may not be in world space since the graphs can be rotated)
if (!VectorMath.IsClockwiseXZ(node.GetVertexInGraphSpace(0), node.GetVertexInGraphSpace(1), node.GetVertexInGraphSpace(2))) {
int tmp = node.v0;
node.v0 = node.v2;
node.v2 = tmp;
}
What do you think about this modification?
I’ll now try to write a class extending from RichAI to update the agent orientation or gravity according to where it is on the sphere.