+1

Collision Detection

Anonymous 5 years ago • updated by anonymous 2 years ago 3
This discussion was imported from CodePlex

BCBlanka wrote at 2012-11-10 08:47:

Hello,

 

Is there a way to detect collision between 3D models?

 

Thanks

Blanka


objo wrote at 2012-11-11 22:14:

sorry, no collision detection is implemented in this library. But it would be interesting to see integration of the models defined here with bullet or some other physics library! 

http://bulletphysics.org/
http://code.google.com/p/bulletsharp/
http://www.ode.org/
http://newtondynamics.com 


bcblanka wrote at 2012-11-12 06:40:

Thanks for the prompt response.

 

Blanka


davidop wrote at 2013-05-28 16:53:

Did you find the solution? What library do you recommend? Do you have any example?

BCBlanka wrote at 2013-05-29 10:10:

I ended up comparing the bounds of the models (Rect3D) and checking their intersection. This was enough for what I needed.

davidop wrote at 2013-05-30 11:00:

Do not you will have a small example? I need it for when moving objects (ModelVisual3D) with the mouse

objo wrote at 2013-06-07 12:01:

A small collision detection demo is on the wish list! Simple geometries (boxes) would be sufficient. Also a larger demo combining WPF3D and one of the well-known physics engines would be very interesting to see. Sorry, I don't have time to do this myself at the moment :)
+2

I'm using Jitter Physics in my project for a more robust engine for mesh collision. It has taken some work as WPF examples are rare and Helix ones are virtually non-existent. It works, but I am still having some issues w/ it. I can try to get a simple example set up, but I might not be able to get to it soon.

Any results? I am sure the helix toolkit is the best option for me, but I am not sure about the physics engine.