Notifications
Clear all

[Closed] Call Align tool through max script

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??

1 Reply

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, Im afraid Im 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.