Jump to content
papsphilip

Keep particles inside volume

Recommended Posts

i am trying to use the volume gradient - volume sample method to keep moving particles inside a volume.

The particles move freely with a noise but as soon as they reach the edge they should turn.

Doesn't seem right so far

 

 

sdf_bounds.hip

Share this post


Link to post
Share on other sites

You could also use the pre made pop advect by volumes, calculate the vol gradient beforehand and just set the velocity scale to -1. 

image.thumb.png.4bb360935384ba24f9e7abbe9653e230.png

image.thumb.png.019089f7badca10468a17b2cc062627c.png

 

sdf_bounds_Yader_03.hiplc

Edited by Yader
  • Like 3

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

×