26th September 2006, 09:38 PM | #9 | |
Senior Member
Professional user
Join Date: Jul 2003
Posts: 899
|
Re: Get Rotation of a Group or Object
Quote:
Alternatively, you could call the code that AC3D uses when you use the left side bar rotate function. Check out the ac3d.tcl file in the "scripts" directory and look for "ac3d rotate_axis_angle". This snippet might help: Code:
// Specify axis where 0 = x, 1 = y, 2 = z int axis = 1; float degrees = 90.0f; tcl_command( "ac3d rotate_axis_angle %d %g", axis, degrees ); Good luck |
|
Thread Tools | |
Display Modes | |
|
|