- I have a little lemming.
- I blow him up.
- He flies through the air (as a rigidBody2D set to Rigid).
- He lands on the ground (or another little lemming) and settles into his rest spot.
This is all well and good. But after about 200 lemmings on screen things are getting pretty bogged down even on a multi core i7 with 16Gig of RAM so I don't think my phone will handle it.
- setup a timer that counts down as a 1 shot from 4 seconds
- when timer finishes, change mode to Static
This works, it's really quite good. EXCEPT for those times that a lemming is still falling about. Then I have them sitting in mid air. This is not good. :-)
So! Does anyone have any suggestions as to what I can do? I was thinking of checking for collisions perhaps? If the 4 seconds is up, is lemming touching anything? If so turn on Rigid otherwise count down another 4?
What do you think would be the best thing to do here?
Thanks so much