Back to Browse

Contact Points (Polygon/Polygon)- Let's Make a Physics Engine [20]

6.5K views
Aug 6, 2022
24:17

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

Download

0 formats

No download links available.

Contact Points (Polygon/Polygon)- Let's Make a Physics Engine [20] | NatokHD