I’m trying to make deaths look a little better, rather than just one explosion and a fade out.
I want to spawn explosion effects in random places around my gameobject’s surface. The way I thought about doing it, was using some pre-determined areas placed around my gameobject, then spawning a random explosion from a list of prefabs in a random unit in sphere around that area…
But i want it to also only spawn a few here and there, short little “bangs” (which of course I have). The whole situation only lasts about 5-10 seconds. So theyll pop pop pop all over while it spins out of control, then at the very end one bigger special made effect with a nice little shockwave or something to finish it off.
I was going to do this in an enumerator, and have a while loop that started over every random range within a second, (so play 5-10 times based on length of said “death” ). And maybe instantiate a random as well from 1-10 explosions per shot. Then of course the last one at the end, when the gameobject is removed.
Thoughts? Ideas? Better ways?