Skip to content
BENIBIX Learn

Physics Engine

Development🎮 Game DevelopmentGame Physics

Also known as Game Physics, Physics Simulation, Rigidbody

The part of a game that makes things fall, roll and bounce.

Think of it like

Think of it like gravity and bumps in a toy box. Things fall, roll and bounce on their own.

Example

Lucy gives a crate a body and a weight. When the player pushes it off a ledge, it falls and tips over by itself.

Why it matters

Real-looking motion is hard to write by hand. A physics engine gives it for free.

Definition

A physics engine is the part of a game that makes things move like real objects. It adds gravity, speed, weight and bounce. When two things hit, it works out how they push apart. You give an object a body and a weight, and the engine moves it each frame. Most game engines have one built in.
Once boxes touch, the physics engine decides how they bounce.

Common mistake

Moving a physics object by setting its spot directly. That fights the engine, so push it with forces.

Key takeaways

  1. 1
    Gravity and weight. Things fall and push like real objects.
  2. 2
    Handles bumps. It works out how things bounce apart.
  3. 3
    Push, do not place. Move bodies with forces, not by hand.