Sign in to follow this  
makuto

3D collision detection: library or no?

Recommended Posts

makuto    874
I've just been playing around with OpenGL and came to the problem of 3D collision detection. I have implemented SAT and AABB collision detection with some 2D games, but 3D seems to be quite a bit different. I suppose I could use SAT with a Z axis, but in 3D that seems to be very taxing even with simplified collision meshes.

If I should implement it in order to learn something, can you point me in the right direction?

If I should ignore it for now and just get a physics engine, which one would you recommend (Bullet, ODE, etc.)?

Share this post


Link to post
Share on other sites
ApochPiQ    23011
I'd strongly recommend starting with a library. I've used Bullet in the past and it isn't too bad; but it's been ages since I touched any of the other alternatives so others would probably have more up-to-date opinions on them.

Share this post


Link to post
Share on other sites
Jarwulf    223
Most people seem to eventually end up using physics engines to handle collision detection in 3d games. PhysX is a good option but changes quickly. Also beware of small 3rd party wrappers. The port of PhysX I was using for an Ogre project died when the one man team holding it together decided he had enough and quit.

Share this post


Link to post
Share on other sites
Cornstalks    7030
[quote name='makuto' timestamp='1354931650' post='5008314']
I'm thinking the Open Dynamics Engine or Bullet would be the best for me. What do you guys think?
[/quote]
I've never used either (so take this with a [i]huge[/i] grain of salt), but most of the stuff I've read online has been in favor of Bullet. I haven't heard of anything wrong with ODE, but the majority I've read about seem to prefer Bullet (haven't read why; googling may be revealing). I will say, though, that if you can implement realtime [url="https://www.youtube.com/watch?v=FIPu9_OGFgc"]Voronoi fracturing[/url] in your game, I will pay good money just for a test drive...

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