Align Pivot to Direction

6 votes
Date Updated: 

 Align Pivot to DIrection(vector) allows you to align the X, Y,Z or XYZ axis of the local pivot of each of the selected objects to the direction(vector), defined by two picked in the scene points. SNAP will be turned ON automatically.  If the Shift key is down when the axis is choosen the pivot will be moved to the first picked point.

Version 1.1 should works properly with Pen(tablets).

Version 1.2 - Align To XYZ axis added. You should pick 6 points to define the three axes. Points 1 and 2 define the X axis, points 3 and 4 define the Y axis, points 5 and 6 define the Z axis

Version Requirement: 
3dsMax 9 +
Video URL: 
miauualignpivottodiection_10.ms2.91 KB
miauualignpivottodiection_11.ms3.35 KB
miauualignpivottodiection_12.ms6.89 KB


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
1rv's picture

If only this script could

If only this script could work with UVW modifier's gizmo!

1rv's picture

miauu , it's awesome! thank

miauu ,
it's awesome! thank you for your generosity and talent.

mwaif's picture

working great!!!! Thank you

working great!!!! Thank you very much!

miauu's picture


Try version 1.2

mwaif's picture

For example when I want to

For example when I want to align pivot to 3 axes, I'm running the script and click "align x axis" and click two points to define x vector. Then I run the script second time for aligning for y axis and do above steps and again for z axis.

There couldn't be an easier way for this? Like running the script, first 2 clicks define x, second 2 clicks defines y, and third 2 clicks define z.

miauu's picture


Script allows you to pick only two points in the scene. Those points define a vector. How to align 3 axes to one vector?

mwaif's picture

Nice script, thank you.One

Nice script, thank you.

One suggestion though. Is it possible to add another option called "Align X,Y,Z axes" ? This will align all axes at once. When clicked this option, user will click 6 times sequentially(First 2 clicks will set X, second clicks will set Y, and then Z)
Thanks in advance.

miauu's picture


Try version 1.1.

harumscarum's picture

wacom tablet issues

thank you - great script and very useful!
but i experience some issues with wacom tablet - need to click very carefully or many clicks to make it work
is there any option to make it working with pen input

thanks again

obaida's picture

Thank you

Thank you "miauu" for making this script .
Best Regards

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.