1
Support / Child object transformation
« on: July 22, 2015, 03:25:45 pm »
Hello Olsen
My doubt is about world transformation matrix of child objects 3D.
I want to add an object (objectChild) with a specific orientation and position to another object (objectParent) which has been rotated and translated in the world space. My problem is that when I add my objectChild to the objectParent, the current position and orientation of the objectChild changes due to the tranformationMatrix of the objectParent.
Is there any way to add the objectChild and doesn't change its position and orientation at the moment of adding it to the parent??
Thanks in advance.
My doubt is about world transformation matrix of child objects 3D.
I want to add an object (objectChild) with a specific orientation and position to another object (objectParent) which has been rotated and translated in the world space. My problem is that when I add my objectChild to the objectParent, the current position and orientation of the objectChild changes due to the tranformationMatrix of the objectParent.
Is there any way to add the objectChild and doesn't change its position and orientation at the moment of adding it to the parent??
Thanks in advance.