3D collision detection: library or no?

Started by
4 comments, last by makuto 11 years, 4 months ago
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.)?

Want to get to know my work and I better? See my website: Au 79 Games

I wrote General Tips on the Process of Solo Game Development

Advertisement
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.

Wielder of the Sacred Wands
[Work - ArenaNet] [Epoch Language] [Scribblings]

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.
I'm thinking the Open Dynamics Engine or Bullet would be the best for me. What do you guys think?

Want to get to know my work and I better? See my website: Au 79 Games

I wrote General Tips on the Process of Solo Game Development


I'm thinking the Open Dynamics Engine or Bullet would be the best for me. What do you guys think?

I've never used either (so take this with a huge 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 Voronoi fracturing in your game, I will pay good money just for a test drive...
[size=2][ I was ninja'd 71 times before I stopped counting a long time ago ] [ f.k.a. MikeTacular ] [ My Blog ] [ SWFer: Gaplessly looped MP3s in your Flash games ]
That stuff is amazing!

Want to get to know my work and I better? See my website: Au 79 Games

I wrote General Tips on the Process of Solo Game Development

This topic is closed to new replies.

Advertisement