7
\$\begingroup\$

(I've split this question into two. For 2D, see: 2D collision-detection middleware)

Are there any recommendable middleware available for 3D collision detection?

I believe I've heard Bullet has a pretty good 3D collision detection that can be used without the physics engine. I'd like to hear if people have any experiences on Bullet or other libraries for 3D collision detection specifically.

\$\endgroup\$

closed as off-topic by Josh Jun 23 '17 at 23:19

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions about "how to get started," "what to learn next," or "which technology to use" are discussion-oriented questions which involve answers that are either based on opinion, or which are all equally valid. Those kinds of questions are outside the scope of this site. Visit our help center for more information." – Josh
If this question can be reworded to fit the rules in the help center, please edit the question.

  • \$\begingroup\$ Pekuja you was evil in that question :P You managed to get 2 replies, one about Bullet, and one about Box2D... Why you had to ask both at the same time? :P \$\endgroup\$ – speeder Aug 30 '10 at 17:51
  • \$\begingroup\$ Yeah, I realised I should have asked separate questions about 2D and 3D. I'm sorry about that. I wonder if it's possible to split this... \$\endgroup\$ – Pekuja Sep 1 '10 at 2:36
2
\$\begingroup\$

If you just want collision detection, and not a full physics engine, it might be worth taking a look at OPCODE - http://www.codercorner.com/Opcode.htm (although it is a bit old now, there may be newer/better things out there?)

\$\endgroup\$
6
\$\begingroup\$

Bullet has a very well-working collision pipeline. They support various broadphases (sweep n prune, hashed broadphase, 3-axis sweep, etc) and have narrowphase with optimized bv-tree's. I've worked professionally with bullet for over a year and although their performance is not as good as havok(which I've worked with for over two years), it's free and the source code is maintained and enhanced often.

It should be fairly easy to look into their source-code to figure out how to only use their collision detection.

PhysX also has a collision-detection network but I haven't relly looked into it. Havok is a solution that costs a lot of money and I don't think anyone can afford retrieving their source-code unless you're a professional developer. They do have free-to-use libraries but then you can't modify it.

\$\endgroup\$
  • \$\begingroup\$ I agree. My friend used PhysX in university and had a lot of success with it - not sure how it caters for the 'just collision detection plox' market though. \$\endgroup\$ – Jonathan Dickinson Aug 31 '10 at 13:33
1
\$\begingroup\$

Open Dynamics Engine is another semi-popular open source middleware solution for physics and collision.

http://www.ode.org/

PhysX is another popular collision/physics middleware from NVIDIA. Binary available.

http://developer.nvidia.com/object/physx.html

Last but not least is Havok which is the gold standard of collision/physics. Binary available.

http://www.havok.com/

\$\endgroup\$

Not the answer you're looking for? Browse other questions tagged or ask your own question.