I have speed based on a parameter - how many particles I have.
My default and minimum speed, is 4.
When I receive the message to increase my speed, I want to increase the speed based on the amount of particle’s I have.
If I have a thousand particles and I receive one more particle, then I want the increase in speed to be very little (speed += 0.001).
If I have 1 particle and I receive one more particle, then I would like the increase in speed to be great (speed += 2).
So: How in unity, do I get a small value from a large number, and a large value from a small number?
Thanks a lot for reading, I appreciate any answers.