Page 1 of 1

Help With Iteration Movement from Top to Bottom

Posted: Fri Jan 22, 2021 2:52 am
by VidEZ
Hi,
I am trying to make clouds scroll down from the top to the bottom.
What's strange is that the one cloud, or the starting cloud that gets iterated goes from top to bottom, but the iterated clouds move from bottom to top. I have links to the .magic file and the images in the project.

Any help would be appreciated.

Thanks!

https://magic-music.s3.amazonaws.com/MovingCloudz.magic

https://magic-music.s3.amazonaws.com/Castle-01.png
https://magic-music.s3.amazonaws.com/clouds-01.png

Re: Help With Iteration Movement from Top to Bottom

Posted: Fri Jan 22, 2021 9:17 am
by Sadler
Your arithmetic is off. Trying work it out on paper can help.

As an example using these modifiers in this order: Scale(0.1), Offset(0.1), Increase (0), Wrap (2), Scale (-1). The # of each iteration will be 0, 1, 2 etc. so the value will be scaled and offset by 0*0.1+0.1, 1*0.1+0.1, 2*0.1+0.1 etc. which equals 0.1, 0.2 0.3 - these are the speed values that affect the increase modifier. After the Increase modifier your doing the same thing to all iterations - you don't have access to the Iteration# any more. Wrap, to limit the increase, and then scale by -1 to make everything go down.