animation

Im new to 3ds maxscript. I wanted to create an animation of a selection where each object of the selection moves to a position say 10 units in Z from its current position in a sequence of 100 frames

i have so far go

for i in $ do
(move i [0,0,25])

Comments

JokerMartini's picture

with animate on.....

with animate on.....

John Martini
Digital Artist
http://www.JokerMartini.com (new site)

hanselmoniz's picture

i have got this for slice and visibility

--slice modifier
for i = 1 to selection.count do
(local sliceMod = sliceModifier Slice_Type:2
local capMod = Cap_holes ()
addModifier selection[i] sliceMod
addModifier selection[i] capMod
with animate on
(
at time (1+ (i*2)) sliceMod.Slice_Plane.pos = [0,0,0]
at time ((i*5) + 2) sliceMod.Slice_Plane.pos = [0,0,25])
)

-- visibility

for i = 1 to selection.count do
(selection[i].visibility = bezier_float()
with animate on
( at time 0 selection[i].visibility.controller.value = 0
at time 20 selection[i].visibility.controller.value = 0
at time (20+(i * 5)) selection[i].visibility.controller.value = 1
)
)

hanselmoniz's picture

for i= 1 to selection.count

for i= 1 to selection.count do
(animate on
at time (i * 5)
move selection[i]= (0,0,10)
)