Jump to content
  • Advertisement
Sign in to follow this  
jermz

Separating Axis

This topic is 4501 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've coded up an intersection test for convex polyhedrons, more specifically OOBs using the separating-axis thereom. It seems to work fine, at least for the test cases I've tried it with. Now I'm working on detection of the actual collision between the boxes, basically plane vs vertex and edge vs edge plus degenerate cases. However, while doing this I began thinking more on the separating axis thereom for intersection tests. If two convex polyhedrons are disjoint, then there exists a projection along an axis orthogonal to a face or orthognal to an edge in each polyhedron where they are also disjoint. I can't for the life of me visualize any case for 2 OOBs where they would be disjoint and NOT have a separating axis based on faces. In otherwords, is the 2nd part of the thereom necessary? Can someone give me a case where projections on the faces all overlap but the polys are disjoint?

Share this post


Link to post
Share on other sites
Advertisement
I had the same visualization problem, but check out this thread for an instance of such a case. Near the bottom there are a few images that should help.

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!