Skip to content

A short demo of the SAT, GJK, EPA and Sutherland-Hodge algorithms, useful for testing arbitrary convex polygon collisions and getting contact points in a physics engine

License

Notifications You must be signed in to change notification settings

GavRobbs/PolyCollider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PolyCollider

A short demo of the SAT, GJK, EPA and Sutherland-Hodge algorithms, useful for testing arbitrary convex polygon collisions and getting contact points in a physics engine, written in Python.

Check out my blog at https://gavinrobinson.net/index.php/projects/.

References

https://cs.brown.edu/courses/csci1950-u/lectures/04_advancedCollisionsAndPhysics.pdf

https://fjinn.github.io/Experiences/Programming/Math/GJKAlgorithm_README.html

https://github.com/kroitor/gjk.c

https://www.youtube.com/watch?v=Qupqu1xe7Io

https://personal.math.vt.edu/mrlugo/sat.html

About

A short demo of the SAT, GJK, EPA and Sutherland-Hodge algorithms, useful for testing arbitrary convex polygon collisions and getting contact points in a physics engine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages