Physics Optimization

Corona Dev Team,

So I just realized yesterday, after 3 weeks of debugging, re-coding and testing, that when you have too many physics objects (e.g. 50-100 objects) moving on the screen, the performance slows down for your game/app and it’s pretty much not playable. However, if you don’t use physics on the 50-100 objects you are trying to move, there is no performance slow down and the game runs fine, actually the game runs fast.

Here is my problem now. Since I can’t use the Corona physics engine because it slows down my game, I now have to develop my own collision detection logic on my 50-100 objects. I wanted to use the physics engine because it already had the event listeners for collision detection.

Is there going to be any future physics optimaiztion to the Corona SDK soon? Is there a new build on the way that will resolve the performance issue when you have too many physics objects moving on a screen? I really don’t want to start developing my own collision detection engine just to workaround the physics performance problem =T
[import]uid: 87837 topic_id: 17729 reply_id: 317729[/import]

I highly recommend you chime in on this thread, which deals with this exact issue:

http://developer.anscamobile.com/forum/2011/09/27/time-based-physics-implementation

If you join the conversation in that thread, it will help bring attention to this, and hopefully show Ansca devs it’s a high priority issue. [import]uid: 49447 topic_id: 17729 reply_id: 67579[/import]