Game development

What is collision detection?

Collision detection is the process of determining when objects in a game touch or overlap, for example a character landing on a platform, a bullet hitting an enemy or a player entering a trigger zone.

How it works

Objects get simplified collision shapes, such as boxes, circles or capsules, rather than their detailed visuals. The engine first quickly rules out distant objects, then checks close pairs precisely and reports hits so game logic can respond.

Common pitfalls

Fast objects passing through thin walls between frames (tunnelling), shapes that do not match the art, and too many detailed colliders slowing the game.

Questions, answered

A zone that detects overlap without physically blocking, used for pickups and checkpoints.

With continuous collision detection or thicker colliders for fast objects.

By the Stegnor team · Updated