From: Ershad K <ers...@gm...> - 2011-06-17 13:02:14
|
Hai, I'm new to vpython. I've two objects, a cube and a pyramid. After changing the position of pyramid from its origin, could you tell me how to rotate both objects combined? I tried cube.rotate(angle=45, axis=(0,1,0)) pyr.rotate(angle=45, axis=(0,1,0)) But it's rotating on two different axis of its on. I would like to have something like two objects sticked together and having rotation. Could you please help me to do so? Thanks in advance. Kind regards, Ershad K |