From: Ershad K <ers...@gm...> - 2011-06-17 14:29:03
|
On Friday 17 June 2011 07:09 PM, Bruce Sherwood wrote: >> From the VPython documentation ("Rotations") appended below, you can > see that you can specify an origin for the rotation, so you could use > the same origin for both objects. Alternatively, you might prefer to > put both objects in a "frame", and then rotate the frame. The > advantage to using a frame is that you can then treat the two objects > as one in every way. For example, if you change the pos of the frame, > both objects will move. As you said, I tried cube's origin in pyramid's rotation. The issue is solved, thank you very much. Kind regards, Ershad K |