Sign in to follow this  
healeyx76

Simple 2D collision check

Recommended Posts

I wrote a simple 2D collision checking procedure for 2 rectangular boxes(defined by 4 x,y pairs). They rectangles can be oriented in any direction. It actually might work for any 4 sided polygon. Im just wondering if anyone has any possible ideas of how i can make sure it won't run into problems, like if I try 2 polygons(not rect), that one is concave around the other, and such. Also are there speed tests already done so I can compare the speed of my test to others?

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