Does anyone know what point nodes are rotating around when calling RelocateNodes? For instance, if I call something like:
Matrix4x4 mat = new Matrix4x4();
mat.SetTRS(Vector3.zero, Quaternion.Euler(new Vector3(0, 90, 0), Vector3.one);
graph.RelocateNodes(graph.matrix, mat);
What are the nodes actually rotating around? My first assumption was a rotation around world 0,0,0 but that doesn’t seem to be the case. They also don’t seem to be rotating around the bounds center in the case of a RecastGraph.
Any ideas? I’m having a tough time trying to rotate a graph around a particular point without having this information.