Moving GridGraph Bug/Workaround

Hey Aron,

I’m trying to implement this workaround: http://www.arongranberg.com/forums/topic/relocate-nodes-fix/

I was using:

// Move pathfinding grid
g.center = transform.position;
var m : Matrix4x4 = g.matrix;
g.GenerateMatrix();
g.RelocateNodes(m, g.matrix);

But I think I might be experiencing the bug with RelocateNodes, some of the paths I’m getting back after a bit of movement are whacky. See image: http://imgur.com/Dv9XVSG

How would I employ the workaround from that forum post? I’m not really sure what he means by “transform the grid center by the same matrix used to transform the nodes”, does that mean I need to transform the nodes aswell?