Sprinkles Animation

I've been working on a project, using Blender, but unfortunately I am stuck on one part: Is there any way to achieve this using blender? What basically I want is that sprinkles come quickly, the ones that touch the cake cube stick to it, and the rest fly into the background. I'm confused about what to use for this, and also, are particle simulations possible in geometry nodes?

Edit: This is the reference video I want it like on the cube from 0:16 to 0:19 https://www.youtube.com/watch?v=iVjOD7fRRxs

• i think a lot of people could answer your question, if it would be clear what you want. I would recommend that you improve your question so that it is crystal clear what you mean and what effect you want. A link to a video with that effect would help a lot. Commented May 10, 2022 at 9:34
• e.g. what is not clear: should one or several sticks touch the cube? what do you mean by come quickly ? from random positions, from left, right...!? and what do you mean by fly into the background? to minus y? or away from the camera? we can/want only help if we know what you want, because else we invest time for a solution and your answer will be: no, that's not what i meant. And nobody wants to waste time... Commented May 10, 2022 at 9:36
• @Chris would it be okay if I attached the video? Commented May 10, 2022 at 12:34
• Of course!! Just do it Commented May 10, 2022 at 12:36
• @Chris I've attached it. Commented May 10, 2022 at 12:37

Here just a short sketch of what I would use (geometry nodes only):

Essentially, I'm doing something here that Geometry Nodes probably weren't designed for, but it's still fun.

• First, I create a simple mesh on which I distribute points.
• Then I move these points in a certain direction. To make them start with a time delay, I used the technique described in more detail here: How to Randomly Delay Animation for Geometry Node Instances?
• At the same time I use the node Raycast with the same direction as Ray Direction. So that I can stop the rotation of the particles later at a certain angle, I pass a randomly generated value here as Attribute.
• Next, I create a random vector here that serves as my rotation axis.
• As soon as the particles hit the cube I stop the rotation and the movement.

• Thanks a lot! You can edit your answer if you want, but this is also enough for me. Again, thanks very very much! Commented May 10, 2022 at 19:14

Probably the most simple solution is using default particles:

For donut, enable Collision and Kill particles in collusion settings:

In particles enable display dead:

This will kill particles on collision and stop its motion

• Yes, I like that solution! How would you handle the rotation of the particles here? Commented May 12, 2022 at 13:56
• You can make rotation in particle settings, and it stops on killing. Commented May 12, 2022 at 13:57
• @Crantisz Doesn't killing the particles make them disappear? Commented May 12, 2022 at 19:12
• Yes, until you don't set display Dead. Commented May 12, 2022 at 19:54