![]() |
![]() |



Author: codeman01101001
Date Submitted: 2004-01-29 16:06:03
Downloads: ApplyTransform.mcr
(
rollout transform_rollout "Cipher Transform Helper"
(
label lab1 "Note: This helper dont work correctly with mirrored objects"
checkbox collapseall "Collapse all selected Objects (to prevent errors)" checked:true
button applyall "Apply XForm to all selected Objects"
on applyall pressed do
(
for i in selection do
(
if (i.parent == undefined) then
(
if(collapseall.checked == true) then
(
convertToMesh i
)
-- apply an XForm modifier to the node
local xformMod=xform()
addmodifier i xformMod
-- set the XForm modifier's gizmo tranform
xformMod.gizmo.transform=i.transform
i.transform = identity i.transform
)
)
)--end on
)--end rollout
createDialog transform_rollout 300 70
)
With this script, the leveldesign in Max is a bit more comfortable now.
You don't need XForm anymore. Now you can move, scale and rotate the objects in your maxlevel, after all that activate this script and export...nothing more
Put the File in
UI\MacroScripts\SoupMacros
More information how to use scripts in max look here:
http://www.cipherengine.com/tutorials/GettingStarted2.php
Note: This helper dont work correctly with mirrored objects
[Recent Contributions] [Recent Source Code]