Sign in to follow this  

Collision detection

This topic is 2960 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 having trouble with collision detection. I'm sorry if this is not right forum for this. I have 2D geometries and I should move one geometry to specified direction until it collides with another geometry. Here's a drawing about that (red geometry is just a preview of the original geometry after move): Free Image Hosting at www.ImageShack.us I have searched for collision detection algorithms, but haven't found good enough. Many of the algorithms are for 3D. I'm sure there's relatively simple algorithm which solves my problem.

Share this post


Link to post
Share on other sites
The first thing that comes to mind for that particular example is swept SAT. You would need to decompose the objects into convex polygons (you'd have to sacrifice some accuracy with respect to the curved portions of the shapes), and then perform multiple swept SAT tests to determine the first time of intersection.

Share this post


Link to post
Share on other sites

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