Hello to all who are reading this. I made a smoke screen ability, but when the ability is used it causes major frame rate drops, like down to single digits. The way the ability is made is it spawns a unit similar to the Overseers spawn changeling and the unit spawned is just a model of fog which has more models of fog attached to it to make it thicker, i really have no idea how to fix the problem so any advice would be appreciated.
I am pretty sure its only spawning once, like i said its based off the Overseer ability spawn changeling, but i have attached 15 models to it, now that i look at it its probably that i just went overkill on the attachments i will try and lower them and see what happens.
Ok i changed it and it helped a bit but not as well as i was hoping its still droping some frames when the ability is used.