Sign in to follow this  
justsomeguy007

OBB rigid body and polygon collision.

Recommended Posts

Has anybody got any idea on writing an object oriented bounding box and polygon collision routine? I took some time to look around and didn't find any actual implementation or explanation of such a routine. I know that there is vertex/face, and edge/edge collision in such cases, but the routine I wrote is very buggy. Thanks in advance! 007

Share this post


Link to post
Share on other sites
here we go again :)

1) SAT test. -> collision normal and depth.
2) find contact features (edge, vertex or face).
3) convert contact features to contact points.

demo

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this