Learn Box2D
Learn how to use the Box2D physics library
Code Repository
- The code for this tutorial series can be found on Github : Nero Games – Learn Box2D
- The Box2D version used is 2.3.0
Get Started
Introduction
Start here
Physics World
Create a world of solid objects
First Solid Body
Create your first solid object
SFML and Debug Draw
Integrate SFML and Box2D
Rigid Body
Shapes
create simple shapes
Fixtures
learn about fixtures
Bodies
learn about bodies
Convex Shapes
create convex shapes
Moving Bodies
velocity, force and impulse
Movement Equations
Classical mechanics
Improving our Engine
Callback Classes
Contact Listener
Contact Filter
Destruction Listener
Improving our Engine
Joints
— Coming Soon —
Advanced Physics
— Coming Soon —
Quick Navigation