Game development

What is a physics engine?

A physics engine is the part of a game engine that simulates real-world physical behaviour, such as gravity, collisions, friction, forces, springs and ragdolls, so objects move and react believably.

How games use it

Puzzle games built around falling and stacking, driving and flight models, destructible scenery, ragdoll characters and projectiles. Box2D for 2D and engines' built-in 3D physics are common.

When to fake it

Realistic physics is not always fun. Many platformers use hand-tuned movement rather than full simulation, because players expect tight, predictable controls.

Questions, answered

Yes. Many moving bodies are expensive, especially on phones, so simplify collision shapes.

Shared physics in multiplayer is hard to keep in sync and needs careful netcode.

By the Stegnor team · Updated