technique

Grid-Based Collision Detection

Represent obstacles as a 2D boolean array (true = blocked) and a player's position as a row/column index.

Also called: boolean obstacle grid · tile-based collision

What it is

How it works

Parameters & tuning

Where it’s been used

Variants & neighbours

Go deeper


Revision 1 · 1 source · Something wrong? Tell us.