My next job was to now use the current wave version 3, and somehow apply a kind of phase shifter in between each element within a row. I struggled to find a solution. After much development I managed to come up with a script that only created a shift in between each element Study the test below. It even may seem like a success, however, all that it does is give animation to all of the elements with some shift.
Imagine the following grid:
22,..............................
15, 16, 17, 18, 19, 20, 21,
8, 9, 10, 11,12, 13, 14
1, 2, 3, 4, 5, 6, 7
these are the numbers of each element within the grid. So we give object1, an animation that we like. We then say give your keyframes to the next, object2. then do the same for all of them.
Luckily the folling grid is very small, with only seven elements in each row. When the last object in row1, has finished, then row2's first element would start moving.
However imagine if the grid had 25 pieces in it. That means we would have to wait for all of the first rows animation to finish before the second one begins. In this grid you may notice this, but what I want to achieve is a wave effect. The script still requires work because our parquet wooden floor could have dozens of tiles in each row.
Here is my 3rd Test.
No comments:
Post a Comment