CodingTrain / Suggestion-Box

A repo to track ideas for topics
568 stars 86 forks source link

Collision Detection/Resolution with the Separating Axis Theorem #1785

Open swagween opened 1 year ago

swagween commented 1 year ago

I'd love to see you tackle this one, as it's a bit hard to visualize and implement and I think a video explaining the concepts would be SO helpful for game devs who want to use this for convex shape collision handling!

Here are some refs: https://dyn4j.org/2010/01/sat/ https://www.sevenson.com.au/programming/sat/

DarkMortal commented 1 year ago

I have made such a thing in Processing.

You can check my implementation of this idea here