Jump to content
Sign in to follow this  
jackassol

Activate gravity when velocity is > 0

Recommended Posts

Hello guys, i have a a object filed by a grain source.

My problem write now:

How i can apply gravity (with popforce) only to particles which reach a specific speed/velocity? 

 

best

 

Share this post


Link to post
Share on other sites

You can group the particles with a POP Group.

And then do something like

if(length(@v) >= THRESHOLD)
{
ingroup = 1;
}

And then just only apply the POP force to the given group. :-)

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
Sign in to follow this  

×