Jump to content
  • Advertisement
Sign in to follow this  

OBB-Plane Collision

This topic is 4446 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

Original post by mgraves
Anyone know of any relatively simple checks for OBB to plane collision?
Dead simple: just project the OBB onto the plane normal and compare the resulting interval to the plane distance. Penetration depth can easily be computed from this if needed, and so can points of contact (with just a bit more work).

If you're not sure how to perform the OBB projection, google 'SAT OBB', or check out the article 'Simple Intersection Tests for Games' here at gdnet. If after that you're still stuck, post back here.

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!