Physics engine

Quick definition:A physics engine is software that calculates physical interactions in a game, such as movement under gravity, collisions and forces, using simplified rules suited to the game's needs.

Meaning

A physics engine calculates how simulated objects move and interact under defined rules. It may apply gravity, respond to contact, transfer forces and maintain connections between objects. Games use these calculations for activities such as rolling balls, stacking crates, driving vehicles or making loose objects react when a character moves through them.

The simulation relies on descriptions supplied by developers. Objects can have assigned mass, friction, bounce and collision shapes, while restrictions determine which things interact. These values need not reproduce reality exactly. A game may favour predictable puzzles, dramatic movement or responsive controls over strict physical accuracy, and some objects may follow animation or custom rules instead of ordinary simulation.

Physics engines also make practical compromises. They process events in steps and use simplified models to keep calculations manageable. Different systems may handle solid objects, cloth, liquids or destruction separately. A visually realistic scene therefore does not guarantee an equally detailed physical simulation. The term identifies the software responsible for these interactions, rather than a promise of completely realistic behaviour.

Origin:Physics names the study of matter, motion and forces, while engine in software means a system that performs a core set of operations. Games adopted physics engine for software handling simulated physical behaviour. Its exact first gaming use is unclear. Such systems developed alongside computer simulation and game technology, allowing developers to calculate interactions rather than specifying every object's resulting movement by hand.
Example:In a construction puzzle, Eleni places a wooden beam across two supports and drops a ball onto it. The beam tilts, the ball rolls and a nearby box falls after being struck. The physics engine calculates these interactions using the objects' assigned shapes and properties. Changing the beam's mass alters the result, while the puzzle still uses simplified rules rather than reproducing every detail of real wood.
Did you know?The shape used for physical collision can be much simpler than the visible artwork. A detailed statue might behave like a few basic shapes when objects strike it. This reduces calculation costs, but it also explains why a collision sometimes appears slightly different from the surface shown on screen.