PDA

View Full Version : Call Align tool through max script


Raven5326
02-12-2009, 07:19 PM
Hey everyone,



I am trying to allign a biped object to a null over a period of time, the problem i am running in to is that the axis between the two objects are not the same, so when i try to bake it the rotations are all off..

Basically i am extracting the rotation from the null and applying it to the biped object with

biped.setTransform #rotation

when i use the align tool i get the desired effect, but i cant seem to figure out how to call it through script.

I found "max align" which just activates it but i cant pass a selection to it after that...

Does anyone have any ideas??

Context
02-12-2009, 08:44 PM
The align tool is an unexposed function from an ancient version of max. There isn`t a maxscript call to activate it.

As far as actually solving your problem, I`m afraid I`m of less use. The biped`s internal rotation scheme is both confusing and irritating. If you figure this out it would be a useful thing too know.

CGTalk Moderation
02-12-2009, 08:44 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.