Jump to content
Sign in to follow this  
Nemiko

Stopping particles popnet

Recommended Posts

 

Hello everyone! The guys need help how to slow down or stop a particle based on its age. That is, the more her age. the slower she moved and then stopped altogether

deceleration.hip

Share this post


Link to post
Share on other sites

hey @Nemiko, you could use the inverse of @nage (normalized age, going 0-1 from birth to death - equivalent to @life/@age) as a damping factor on @v. In the example file, you can adjust the profile of the damping/stopping effect with a ramp parameter. To stop the wind from acting on deactivated points I just put them in a group and exclude it on the popforce parameters.

I adjusted the max lifetime (which is in seconds) of the particles to make values easier to pin down with the ramp, but you could also fit(val, min_val, max_val, 0, 1) the value into 0-1 range before running it through the ramp instead to prevent particles from dying.

deceleration.hiplc

Edited by nuki

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  

×