Notifications
Clear all
[Closed] Slice plane rotation
Jun 05, 2020 3:31 pm
HI …
is there a way to rotate the slice modifier plane via maxscript ?
Ty
4 Replies
Jun 05, 2020 3:31 pm
set the modifier’s slice_plane.transform
beside, you need local transform not world transform
Jun 05, 2020 3:31 pm
Thanks AEI … I tryed this and seems to work:
modgizmo= $.slice.sliceplane
modgizmo.rotation = modgizmo.rotation + (((eulerangles 0 90 0) as quat) * (inverse ($.objecttransform)))
Jun 05, 2020 3:31 pm
in fact this is enough … lol
modgizmo= $.slice.sliceplane
modgizmo.rotation = modgizmo.rotation + ((eulerangles 0 90 0) as quat))
thanks for answering