How to (non-linearly) reduce velocities for fast particles

   192   1   1
User Avatar
Member
63 posts
Joined:
Offline
Hello again,

this might be a bit of a beginner question, but since I am not well-versed in the world of pops:

how can I slow down particles that are moving much faster than the overall speed of the rest of the particles in a pop sim?
I would like to implement a way to dampen the speed of the fastest particles with some sort of a ramp/falloff. Dampen, not stop or slow these particles down too much, just bring them more in line with the bulk of the simulation. How to best do this?

Thanks,

Dag
User Avatar
Member
396 posts
Joined: Nov. 2016
Offline
Create a pop drag and activate vexpressions. Then do something like:

airresist *= pow(fit(length(v@v), chf('min_speed'), chf('max_speed'), 0, 1), chf('exponent'));

Then click on the slider button to create the parameters. Your drag will be 0 at the minimum speed, and max out at the maximum speed, and you can adjust the falloff with the exponent. You can still adjust the overall drag with the Air resistance slider.
  • Quick Links