2D Collision Detection (yet again)

Started by
0 comments, last by no_skill 19 years, 8 months ago
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
Advertisement
you can try this topic

This topic is closed to new replies.

Advertisement