Optimizing for simple Domino style game

Software: Away3D 4.x

Jake, Newbie
Posted: 26 March 2014 12:04 AM   Total Posts: 11

Are there methods to lower the overhead of a Domino Toppling simulation, short of using a simpler fake physics engine?  eliminating rotation processing of 2 axis may give more predicable behavior. I’ve pondered incorporating a hinged fixture in the base to better control the pivot.

Aside from simply sleeping, can the type of blocks permanently grounded by changed to something with less overhead like a static obstacle rather than dynamic element.

Thanks

   

OEGInc, Newbie
Posted: 31 March 2014 11:34 PM   Total Posts: 27   [ # 1 ]

I would firstly not assign physics to objects that don’t need them.  Second, I would have all objects not currently active be sleeping.  Finally, once an object comes to rest, I would then mark it as sleeping again.  Combine all three of those should give you very good performance in most situations since you probably won’t actually have tens of thousands of dominoes active at once.

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X