Notifications
Clear all

[Closed] Align working pivot to current transform axis

Hi. Keyhydra has an interesting script “align pivot to current transform axis”. It’s align an object pivot to Reference coordinate sistem in sub-object mode. How did they do it?
Can I get gizmo transformation matrix in view/local/local_aligned reference coordinate system? (without calculating normals)
I would like to use it in my working pivot. script. I miss this after maya.

P.S. I know about FB_sub-obj Piv script by Chris Whitaker and other solutions.

image

2 Replies

Maybe this is what you need:

getTransformAxis $ 0

this is it. Thank you, miauu!