Skip to content

Collision Response

Overview

Detecting a collision is only half the problem — you then need to decide what happens: push objects apart, bounce them, or absorb the impact. This covers penetration resolution, reflection (bouncing), and basic impulse-based response.

Core Algorithms (Pseudocode)

Penetration Resolution (push-out) Reflection (bounce off a surface) Basic Impulse Resolution (with restitution)

The Math

Penetration Resolution (push-out)

Reflection (bounce off a surface)

Basic Impulse Resolution (with restitution)