I implemented the minimum translation vector from codezealot's tutorial on SAT (Separating Axis Theorem) but I'm having an issue I can't quite figure out. Here's the example I have: As you can see ...
I'm doing a collision detection class based on SAT and now I'm not sure how is better to handle circle-poly collision I can go with SAT by projecting on all poly axis + nearest vertex or go with ...
Separating axis theorem implementation flaky minimum translation vector based on triangle orientation
I've implemented some collision detection using separating axis theorem. Works fine for axis-aligned rectangles and two out of four possible right triangle orientations. For some reason when the ...