Re: Could you tell me how to do combined rotation of two objects?
Ershad K <[email protected]>
| Newsgroups | gmane.comp.python.visualpython.user |
|---|---|
| Message-ID | <[email protected]> |
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
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev