Sign in to follow this  
keethrus

My Game Physics Demo, and speed questions

Recommended Posts

I've posted a new version of my game physics library. You can view it in action on YouTube here: http://www.youtube.com/watch?v=XFUmXDMy3Vg Or download it from my website and play around with it yourself: http://inlovewithGod.com/physics.php It's a lot more stable and faster than my first version. Speed question: The demo has a rope bridge. If I pile up more than 30 squares on the bridge, my FPS drops below 30. I would think things can be made faster than that. Am I right? Or does 30 piled up squares on a rope bridge seem "too much"? I hope not. Right now I'm doing quick collision test exclusion by doing a radius check around each object. That sped things up a bit. I was thinking about breaking up my world into grid cells and using that as another quick exclusion test too. But in the demo all the things are piled up close, so that wouldn't really help much in this case. Does anybody have any pointers that I'm probably missing on how to get more speed out of my physics library? Thanks, - Jeremiah

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this