What are nodes rotating around when using RelocatedNodes

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.

Never mind, the rotation occurs as expected (as per Matrix4x4.MultiplyPoint); I was operating under the assumption that the default graph matrix values reflected a translation of (0, 0, 0), rotation of identity, and scale of 1. After hitting the graph with an initial RelocateNodes call with a TRS matrix of (Vector3.zero, Quaternion.identity, Vector3.one) I was able to achieve what I was looking for with the rest of my steps.

Hi

Great that you managed to figure it out.
I have been away for a few days which is why I did not answer.