GJK

Last updated

What is GJK?

The GJK algorithm (Gilbert–Johnson–Keerthi) is a computational geometry algorithm that is widely used to detect collisions between convex objects in video games and simulations. The primary role of this algorithm is to assess the intersection between two convex shapes. What makes it unique and widely used is its efficiency and accuracy even when dealing with complex three-dimensional shapes. It uses the concept of "Minkowski Difference" to simplify its calculations and determine if two shapes are intersecting.

Free resources to learn GJK

More in stage 10: Programming Languages

GJK: common questions

Can I learn GJK 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 GJK 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 GJK tutorial for beginners?

It is lesson 46 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.

Still confused? Ask me