On Apr 17, 2006, at 9:38 PM, Chris Halford wrote:
If I have a group 3d oriented at 0,0,0, and want to rotate it 90
degrees left or right (about the Y axis), I had assumed I would set
its orientation.y to pi/2.0 or -Pi/2.0.
When I do this, the group seems to move a bit more than 90 degrees.
Am I overlooking something obvious?
Setting Orientation directly is asking for trouble, IMHO. Just use
Group3D.Yaw with a rotation amount. Usually that's a fraction of PI.
I don't recall how much 90 degrees is, maybe PI * 0.25?
HTH
--
Joseph Nastasi
Pyramid Design - a software development firm
http://www.pyramiddesign.us
Voice 609 601-0814 Fax 609 601-0815
Products:
A-OK! The Wings of Mercury http://www.aokwom.com
A-OK! Spacecraft Simulation System - http://www.aoksss.com
FTP Suite for REALbasic - http://www.ftpsuite.com
Columnist for REALbasic Developer Magazine
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>