i have a childObject attached to a parentObject.
Now i do a:
parentObject.translate(10,0,0);
parentObject.rotateZ(Math.Pi/4);
Now i want to translate the childObject to the world position 60,0,0.
But when i do a:
childObject.translate(50,0,0);
the childobject is moved depending on the rotation of the parentObject.
So i want to convert the
childObject.translate(50,0,0);
so that the world position is at 60,0,0