2
$\begingroup$

I'm starting to use animation nodes so I can easily make some cool animations at my work to show case some products.

I've been able to move a list of objects and arrange them the way I want, but I don't know how I can make another animation with that.

I've made some objects to gather by the world origin, now I want to move them away, leaving just one in the center of the screen. I'm able to do that separately, but I have no idea of how I can make it continuously.

animate In

animation out

current nodetree

Edit: @Omar:Thanks for your answer, I've been able to make the in and outwards animation, biggest issue that I have is that I'd need to remove one object from the list and move the rest of them. Of course I'm able to do that with keyframes, but would like to learn it using AN I'd like to do something like that:

enter image description here

$\endgroup$
3
  • $\begingroup$ So you just want them to converge then diverge in the same animation continuously? $\endgroup$
    – Omar Emara
    Commented Feb 1, 2019 at 11:23
  • $\begingroup$ Yeah, and then I'd like to animate something else... $\endgroup$
    – eduklafke
    Commented Feb 1, 2019 at 13:59
  • $\begingroup$ I just edited the answer, is this what you are looking for? $\endgroup$
    – Omar Emara
    Commented Feb 1, 2019 at 18:41

1 Answer 1

1
$\begingroup$

First, create the initial animation using an approach like this:

Initial Animation

Next, we take the output time and delay it by some amount using a Delay Node. This time is then used as the time for an Animate Vector node, the start vector will be a zero vector (No offset) and the end vector will be the offset vector. A list is then filled with this vector to match the objects' count. Finally, we set a certain list element to zero, this element corresponds to the object that will not move. Then the list is added to the vectors:

Second Animation

$\endgroup$
2
  • $\begingroup$ Hello, Omar, how you doing? Sorry about that long time to check your answer, got busy these days. I couldn't even replicate your results since my "Distribute Matrices" doesn't give me the option to output it to Vertices, only to Matrices. Am I missing something on it's configuration? $\endgroup$
    – eduklafke
    Commented Feb 19, 2019 at 14:08
  • $\begingroup$ @eduklafke I am using a new build that have this option, in your case, you can just use the Decompose Matrix node to get the vectors for the matrices. $\endgroup$
    – Omar Emara
    Commented Feb 19, 2019 at 16:36

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .