Sign in to follow this  
Phex

2D Collision Detection (yet again)

Recommended Posts

Hello, I know that there are many articles, tutorials etc. about this topic and although I researched a lot I cant get into the whole issue. If you are annoyed, just ignore this post. I am trying to perform a collision detection with moving and rotating sprites (rectangles or squares). I have the position, lenght, width and angle of every sprite. As far as am familiar with collision detection, I have to test the range of every axis projection of the rectangles. If all the axis projections overlap, the rectangles collide. Now I would like to know how I can implement this into my project because I am not quite familiar with the mathematical operations required (at least I know what a vector is). What is the best way to start and what calculations are necessary? Thank you for your help, Phex

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