Jump to content

  • Log In with Google      Sign In   
  • Create Account


3D collision detection: library or no?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
5 replies to this topic

#1 makuto   Members   -  Reputation: 813

Like
0Likes
Like

Posted 05 December 2012 - 05:38 PM

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


Sponsor:

#2 ApochPiQ   Moderators   -  Reputation: 12346

Like
1Likes
Like

Posted 05 December 2012 - 06:01 PM

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.

#3 Jarwulf   Members   -  Reputation: 221

Like
0Likes
Like

Posted 06 December 2012 - 06:53 PM

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.

#4 makuto   Members   -  Reputation: 813

Like
0Likes
Like

Posted 07 December 2012 - 07:54 PM

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


#5 Cornstalks   Crossbones+   -  Reputation: 6882

Like
2Likes
Like

Posted 07 December 2012 - 08:01 PM

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...
[ 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 ]

#6 makuto   Members   -  Reputation: 813

Like
0Likes
Like

Posted 10 December 2012 - 03:23 PM

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





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS