Jump to content
CinnamonMetal

Unbound particles to velocity field ?

Recommended Posts

How do I get a velocity field to get effected by gravity, currently my particle remain bound to the velocity field.  I tried a POPWrangler (@v.y) with a condition, but the particles remain bound ?

 

Share this post


Link to post
Share on other sites

The air resistance on the advect by volume pop was turned up to 150. This acts as a drag to keep the particles within the velocity field and prevent them from flying off. You'd have to turn this down for the particles to break free from the vel field - it's a balancing act to keep them revolving around the torus.

Also this air resistance acts on the particles regardless of if they're inheriting any velocity from the volume. So you'll need to remove this air resistance force on any particles which are not within reach of the velocity field. I've done this by using a pop group and a bounding box area.

image.thumb.png.658a6e64e7630fe791acd906e2ffe0d6.png

velField_gravity_fix.hipnc

  • Like 1

Share this post


Link to post
Share on other sites

what are you testing here:if(float(@v) >= 1.0)?

should that be length(@v)>=1.0? because v is a vector, not a scalar.

  • Haha 1

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

×