Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

Bezier_Rotation and Smooth Rotation in MAXScript?

Bezier_Rotation and Smooth Rotation in MAXScript?

Anonymous
Not applicable
436 Views
0 Replies
Message 1 of 1

Bezier_Rotation and Smooth Rotation in MAXScript?

Anonymous
Not applicable

This topic has two seperate yet related questions:

 

- In MAXScript, there is a Bezier_Rotation class. However, there is no controller associated with that class listed in the Assign Rotation Controller dialog box. How would I make use of this class?

 

- I set an object's rotation controller to Smooth Rotation, select it, and execute this line:

print selection[1].rotation.track

 It prints "Controller: Smooth_Rotation". However, there is no Smooth_Rotation class in MAXScript. Then I execute this:

print selection[1].rotation.track.keyable

 It prints "true". How would I access the keys in this controller? I found no documentation for any "Smooth_Rotation" class.

 

My goal is to export position/rotation key information to my own file format for use in a DirectX engine. The engine will interpolate the values in between these every frame to animate objects. Therefore, the controllers I use must be keyable. I am using Bezier_Position for translation, and I would like to use something similar (if not the same) for rotation. 

 

Thanks,

Tyler

0 Likes
437 Views
0 Replies
Replies (0)