If by "rotate" you mean that you used the mouse to rotate the camera
around the scene, then scene.forward points from the camera to scene.center.
If by "rotate" you mean that you rotated the box by a program statement
through an angle of 0.5*pi, the simple way to know what angle it was
rotated through would be to save that angle. But notice that if you
rotated around the axis of the box, the box's up vector will have changed.
Bruce Sherwood
Stef Mientki wrote:
> hello,
>
> I wonder,
> if I rotate a box around it's axis,
> how can I determine the rotation angle afterwards ?
>
> I don't see any property indicating the angle.
> It should be kept somewhere ?
>
> thanks,
> Stef Mientki
>
>
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you. Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> _______________________________________________
> Visualpython-users mailing list
> Vis...@li...
> https://lists.sourceforge.net/lists/listinfo/visualpython-users
|