Reporting of Local Angles

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Need: The Maxscript method for reporting an objects local orientation in space relative to the WCS.
Say I have an object starting off (and keyframed) orthoganal to the world, oh, a shoebox shaped box with the length of the box pointing in pure X, width in Y and top of the box straight up in Z. Then it is keyframed into other positions and orientations. I often use local X,Y,Z rotations to adjust it's orientation in space. The Max keyframe data shows only X,Y,Z values related to World Space. What I want to know is the X,Y & Z values of the object relative to it's local gizmo as offset from it's starting position.
I know why MAX works the way it does with angles (Quaternion, Euler controller, etc...), I don't need a history lesson there. I also know about XYZ ordering and how the order of the appied transforms give different results. Don't care about that. When the positioning is all said and done, I need to know its relative orientation in space.
I assume there is some math involved in a local to world coordinate system transformation, unless Maxscript has some query tools to shortcut the process. And not sure how you get a description of an objects Local axis reported. Every object in Max has a local gizmo. That info must be in the database.
Thank you in advance for any assistence.
Regards,
Buck Wyckoff
Buckward Digital