Dana Vrajitoru
B583/C490 Game Programming and Design

Collision Detection in 3D Games

Collision Meshes

Coplanar Polygons Intersection

Polygon Collision

Point Inside a Polygon

Edges Intersection

Both the vertex check and the edge check are O(n2), where n is the number of vertices in the highest polygon.

Two-Phase Algorithm

Narrow Phase Collision

Lin-Canny Algorithm

Other Algorithms

3D Intersections

Crossing a Polygon

Non-Coplanar Polygons

Box - Sphere

Moving Past a Sphere

Motion and Collision

Imperfect Bouncing

Momentum

For a moving object, its momentum is defined by the mass times the speed:
p(t) = m v(t)

Newton

Program Structure