Notifications
Clear all

[Closed] Slice plane rotation

HI …
is there a way to rotate the slice modifier plane via maxscript ?
Ty

4 Replies

set the modifier’s slice_plane.transform
beside, you need local transform not world transform

Thanks AEI … I tryed this and seems to work:

modgizmo= $.slice.sliceplane
modgizmo.rotation = modgizmo.rotation + (((eulerangles 0 90 0) as quat) * (inverse ($.objecttransform)))

I’m only a copy/paster … sorry

in fact this is enough … lol

modgizmo= $.slice.sliceplane
modgizmo.rotation = modgizmo.rotation + ((eulerangles 0 90 0) as quat))

thanks for answering