1
$\begingroup$

I try to animate a simple and lightweight leave wind movement, for a complete tree.

I use Geometry Nodes to scatter leaves on branches, and a geometry node on the trunk mesh to scatter branches.

I actually try to use geometry nodes with a simulation zone to bend each leaves in a loop.

I managed to have a functional node setup, that you can see here :enter image description here

But this node setup actually bend the leave continuously and I need it to be reversed each x frames, like each 30 frames for example.

Like this, the leave bend in the X direction, then after 30 frames, start to bend in the -X direction.

How can I achieve this ?

Here is the blend file (only one leave) :

$\endgroup$

1 Answer 1

0
$\begingroup$

do you mean like this?

just add a ping pong (math node) and a subtract node like this:

enter image description here

result:

enter image description here

the "trick" is here to just adjust the frame so that you get the right values. Like -30 to 30 in your case here.

$\endgroup$
1
  • 1
    $\begingroup$ Amazing ! Thanks ! that's exactly what i want ! $\endgroup$ Jan 25 at 13:31

You must log in to answer this question.

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