I have a list with all the coordinates of the vertexes of a polygonal object, all in global coordinates, that I got with:
op_mg = child.GetMg()
points = op.GetAllPoints()
for p,pt in enumerate(points) :
points[p]=pt*op_mg
After setting the global matrix of my polygonal object to the matrix that I want its axis to be, now I want to relocate all the points the location where they were previously (globally).
But I want it to be able to happen, no matter how deep inside a hierarchy my polygonal object is.
Meaning... I want to be able to relocate the axis of my polygonal object to a specific global location, even if my object is inside a hierarchy, but I want to keep all the vertexes in their initial global location.
How can I do this?!?
I have been working with matrixes but no matter what I do, the points of the object always end up moving.