0
$\begingroup$

I've been working on a project, using Blender, but unfortunately I am stuck on one part:enter image description hereenter image description here 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

Thanks in advance.

$\endgroup$
13
  • $\begingroup$ 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. $\endgroup$
    – Chris
    May 10, 2022 at 9:34
  • $\begingroup$ 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... $\endgroup$
    – Chris
    May 10, 2022 at 9:36
  • $\begingroup$ @Chris would it be okay if I attached the video? $\endgroup$ May 10, 2022 at 12:34
  • $\begingroup$ Of course!! Just do it $\endgroup$
    – Chris
    May 10, 2022 at 12:36
  • $\begingroup$ @Chris I've attached it. $\endgroup$ May 10, 2022 at 12:37

2 Answers 2

5
+50
$\begingroup$

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

enter image description here

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.

enter image description here

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

Probably the most simple solution is using default particles:

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

enter image description here

In particles enable display dead:

This will kill particles on collision and stop its motion

enter image description here

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

You must log in to answer this question.

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