- Home /
Is 2d animation better for performance over particle system?
I have a 2d game that I'm working on and I was wondering if there is a significant difference in performance between using the 2d animation built into unity over instantiating a particle system gameobject (I bought an asset from the store)? I'm kind of new to Unity and I thought someone out there might know. Also, if anyone knows how I could test this for myself in the future, that would be greatly appreciated. Thanks Unity3d community!
Answer by luniac · Nov 29, 2014 at 01:21 PM
There's different kinds of Unity3d 2D animation: Mechanim, Legacy, Some asset from the asset store(such as 2Dtoolkit)
I find mechanim to be too slow for me, but legacy animation is pretty good, i was going to try the 2dtoolkit animation but i'm satisfied with legacy animation performance and implementing events through scripting in JS is annoying compared to visually using them in animation window.
If u want to simulate a particle system using 2d animations, remember u have to manually create the behavior through scripting, and in a way creating ur own particle system. ALTHOUGH if u can create a robust 2D only particle system for Unity3D that would be an awesome addition to the asset store, ud make some nice money i think :)
A particle system has values you can play with to get the look you want and each particle is a billboard image, so it's pretty low cost unless you go nuts. You can set the particle renderer to VERTICAL and it'll always face the camera flatly which is what i do for my 2D game, it's orthogonal view.
The reason noone answered you is because it's kind of a silly and vague question. The particle system is great for particles, the animation system is great for animating game stuff...
Your answer
Follow this Question
Related Questions
Modifying a Particle System's 'Start Speed' Property Via Animation 0 Answers
Is it reasonable to use OnBecameVisible for controlling animations, lights and particle systems? 1 Answer
Is there a way to disable the IK Manager on playtime without impairing the animation? 0 Answers
Spriteskin.LateUpdate 2 Answers
Adding animation clips via script 2 Answers