Algorithm for this physics engine to find the contact points between two convex polygons. This will allow us to start programming inertia and rotational physics!
Point Line-Segment Distance Video: https://youtu.be/egmZJU-1zPU
Source Code:
Flat Physics: https://github.com/twobitcoder101/FlatPhysics-part-20
Flat: https://github.com/twobitcoder101/Flat
Time Codes:
0:00 - Intro
0:52 - Description/Diagram
4:39 - Code Implementation
13:50 - Floating Point Comparisons
18:46 - Testing
19:15 - Debugging
21:18 - Testing (final)
22:27 - Contact Points Display Change
23:30 - Conclusion