Game Programming and Development Tools

making a 2d physics engine – dXter

dXter

Member

Posts: 59
From: Texas, the US of A
Registered: 09-26-2006
I've been wanting to make a 2d physics engine, probably in BlitzMax, but I'm not sure where to start.
I don't know anything about "real" physics or much about collision detection. I tried many times to figure out things like the separating-axis theorem, only to give up with a headache after reading about 2 paragraphs. So, I've decided it's probably better to start from something, like another physics engine.
I've found a couple of pretty good physics engines for flash, but only one of them, APE, is open-source so that I can get the collision detection and physics parts out of it and port them to Blitz.
APE is still in the development stage, and I kind of want something more complete to work with, or just another engine for me to work with along with ape. Do any of you know of any open source 2d physics engines that I could use?

------------------
Jesus looked at them and said, "With man this is impossible, but with God all things are possible."
--Matt. 19:26

"Time is an excellent teacher, but eventually it kills all of its students."

Lazarus

Member

Posts: 1668
From: USA
Registered: 06-06-2006
ODE - http://ode.org

Bullet - http://sourceforge.net/projects/bullet

OPAL - http://opal.sf.net/

HTH.

dXter

Member

Posts: 59
From: Texas, the US of A
Registered: 09-26-2006
Thanks for the links, I'd never heard of Opal before. But doesn't it lower the performance of the game if I use a 2d wrapper over a 3d physics engine?

------------------
Jesus looked at them and said, "With man this is impossible, but with God all things are possible."
--Matt. 19:26

"Time is an excellent teacher, but eventually it kills all of its students."