I have a problem with animate on, I have an array of 920 numbers and would like to put in the position of an object. but when run the code below it creates a keyframe always the last number of array ... someone could help?
pos_tst = #(221.364,221.939,222.395,222.381,222.225,222.072,222.052,225.235)
pos_tst.count
for t = 1 to pos_tst.count do
(
animate on for p in pos_tst do
at time t
(
$.pos = [p,0,0]
)
)
for p in pos_tst do
(
print p
)
barigazy · 2012-05-30