Jump to content
Krion

Keep particles inside an volume

Recommended Posts

Hi guys,

 

I've started learning particles and I now these particles beautifully advected by a curl noise. I like that it stays kinda within the same source shape by the curl noise.

5decd7f2f2048_nicecurlmotion3.gif.3901cacc99c4bfe2d428cf882b09d93b.gif

But when I want to prevent the particles from flocking together with a POP interact node, they move away from each other, but also move outside the shape..

 

So I tried to keep them inside the (peaked) shape with POP Attract and Field Force, but that didn't really work. And then I found this old odforce post talking about using sdf for that, but the example hips were too old to see what's going on.

So I was hoping maybe someone could enlighten me on how this SDF trick is done, or maybe any other for directing particles with geo. :) If you want, you can take a look at the hip: 

howToKeepInside.hipnc

 

Thanks in advance!

 

 

Screenshot 2019-12-08 at 12.11.57.png

Edited by Krion

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×