Hello
i have a world localised at (0,0,0).
i have a cube localised at (0,0,0).
i translate the cube to (0,0,100).
when i rotate the cube to the Y axis,i would like he turn arrond
the point (0,0,0) and not arrond the point((0,0,100).
sorry for my bad english.
Relative rotation or absolue rotation
-
Guest
Re: Relative rotation or absolue rotation
1) add the cube to a dummy scene nodeLF wrote:Hello
i have a world localised at (0,0,0).
i have a cube localised at (0,0,0).
i translate the cube to (0,0,100).
when i rotate the cube to the Y axis,i would like he turn arrond
the point (0,0,0) and not arrond the point((0,0,100).
2) set new position of the cube (0,0,100)
3) rotate the dummy scene node instead of the cube