Align Pivot to Direction

8 votes
Version: 
1.3
Date Updated: 
03/13/2019

 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 1.3 - fixed bug in 3ds Max 2019.3

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

Comments

Comment viewing options

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

Working properly in 3ds Max 2020

Working properly in 3ds Max 2020

thhm's picture

why is this not standard max command??

Thanks so much!

dk3dcg's picture

Awesome!!!!

Thank you so much !!

great tool!!

wickerman123's picture

Update

Perfect!

Thank you so much :)

miauu's picture

.

It should show the dotted line now. Please, download the version _13 again and install it.

wickerman123's picture

Update

Dotted line still doesn't show up but the snapping preview cross appears.

Thank you so much for the quick update man!

miauu's picture

.

The problem is solved. Please, test the script.

wickerman123's picture

2019.3

Hi,

I love these simple scripts but this one has gone and broke in the latest version of 3ds Max 2019.

The pivot still aligns but the preview doesn't work so it's impossible to tell what the cursor is selecting or snapping to for the alignment. (The preview still works fine in the Object to Direction script)

Can this be fixed?

miauu's picture

.

If your object is scaled at subobject level then the object will moves. Applying resetXForm will sove the problem. And because of problems like this(andnot only) the golden rule is to not scale objects at subobject level.

xraven's picture

issue confirmed

Hi miauu, thanks for the awesome script first of all.

Unfortunatly, i also often run into the issue "appius" already reported (that the geo moves slightly, when only the pivot should change). I can not confirm that applying Xform does change this.

Comment viewing options

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