Sign in to follow this  

what is a good 2D hit collision formula?

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

Hello I'm in Calculus 3 right now, and just learned of the Dot Product, and was realizing that perpendicular is a straight line right angle to another line of course touching it, so I thought Hm.... could I some how make up a mathematical formula to find out when 2 bodies are hitting each other? I know it won't be using the dot product rule, but I'm saying there must be one out there isn't there?

Share this post


Link to post
Share on other sites
if all you want to know is when the convex boundaries are overlapping then you are probably thinking of the separating axis theorem.
http://gpwiki.org/index.php/VB:Tutorials:Building_A_Physics_Engine:Basic_Intersection_Detection

Share this post


Link to post
Share on other sites

This topic is 3726 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.

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