Jump to content
  • Advertisement
Sign in to follow this  
Numb3rz

what is a good 2D hit collision formula?

This topic is 4069 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
Advertisement
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
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!