< I made this all the way back in December for new years. This is my very own particle engine at work making the fireworks spray. The way that it works is that there is a main firework that goes off then that one spawns in a bunch of clones. These clones have a high chance in order to be just regular and fall to the ground or letters. But there is a special type of particle that has a small chance to be made, this one acts like a firework that doesn't go up and makes a smaller amount of particles.
The way that the particle engine works is first it moves in the y direction, if it finds a collision it goes back to it's previous position and sets the y velocity to a negative with a damping value. The x position is the same. The y velocity is always reacting to the gravitational constant and air friction. When the particle is in the air the x velocity is only reacting with air friction but when it's on the ground it also has friction acting on it. This is how all of this works.
Thanks all of you for reading and Have the bestest rest of your day :)
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (1)
Yey, Fireworks