🎮Physics Engine
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
Common mistake
Key takeaways
- 1Gravity and weight. Things fall and push like real objects.
- 2Handles bumps. It works out how things bounce apart.
- 3Push, do not place. Move bodies with forces, not by hand.