Jump to content
  • Advertisement
Sign in to follow this  
BlueSpud

Separating Axis Theorem In 3D

This topic is 1920 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I want to do simple mesh to mesh collision, around 10 polys at max, and I've seen that SAT can be used to do 3d stuff as well. If i'm not correct, its fairly accurate and pretty simple to implement. I can't find any documentation on 3D stuff, so if anyone could push me in the right direction, that would be appreciated. Thanks. 

Share this post


Link to post
Share on other sites
Advertisement

Did you try searching the web for `separating axis theorem 3d'?

I have, and I haven't found anything really informative or helpful, however lots of stuff on 2d ;) .

Share this post


Link to post
Share on other sites

I want to do simple mesh to mesh collision, around 10 polys at max, and I've seen that SAT can be used to do 3d stuff as well. If i'm not correct, its fairly accurate and pretty simple to implement. I can't find any documentation on 3D stuff, so if anyone could push me in the right direction, that would be appreciated. Thanks. 

 

Assuming that your meshes are convex, this link might help -- it even has nice pictures! The essential idea is that for non-intersecting convex shapes there is always a plane in between them. The trick is finding the plane, and for convex shapes that is relatively straightforward.

 

-Josh

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!