Notifications
Clear all

[Closed] How to rotate object around Working Pivot witn script?

Using maxscript to place the working pivot to desired position is easy, but rotating objects around working pivot is…not so easy, or I don’t know how to do it.

When I rotate the obejct manualy around WP the listenere print this:

rotate curObj (angleaxis 45 [0,0,1])

but when I try the code in script the rotation is around the pivot of the object, not around WP.

Can someone help me?

2 Replies

Axis_Helper ? or –
about (WorkingPivot.getTM()) rotate curObj (angleaxis 45 [0,0,1])

Thank you. Work as I want.