EPA
Last updated
What is EPA?
The EPA (Expanding Polytope Algorithm) is an iterative algorithm used for calculating the penetration depth between two shapes in collision detection. It is commonly used in physics engines and robotics. The algorithm takes the resulting simplex from a previously applied GJK algorithm, iteratively expanding the polytope towards the Minkowski Difference boundary until it finds the closest point to the origin. The vector from that point to the origin is the penetration vector and its magnitude is equal to the penetration depth between the two shapes.
Free resources to learn EPA
More in stage 10: Programming Languages
EPA: common questions
Can I learn EPA in Hindi?
This lesson is written in English. Once you sign in, open it in the interactive course and ask the AI tutor to explain EPA in Hindi or Hinglish. The tutor answers from this lesson’s own text, so it stays on the syllabus, and it runs on your own Google, OpenAI or Anthropic key.
Is this EPA tutorial for beginners?
It is lesson 47 of 144 in the free Game Developer roadmap, in stage 10, Programming Languages. If you are new to Game Developer, start from stage 1 and come back here in order; if you already know the earlier stages, this lesson stands on its own.