Programming FAQ
From Box2D Wiki
Contents |
Basics
Official Documentation
- Manual - very good information, look here first!
- FAQ
- Current TODO list - should help you keep an eye on what features are/will be available.
Understanding bodies/shapes and creation/destroying
Scaling, tuning
Triginometry 101
Properties of bodies/shapes
Moving things around
Other functions
Joints
Using joints
Motors
Advanced
Controlling what collides (masks, groups)
Custom response to collisions
Sensors
Sensors are in 2.0, but if you need them in ~1.4.3 you can hack them in per the instructions here:
Dynamically modify bodies
Add/remove shapes is not supported until 2.0.
Changing other properties (ie size) is not supported.
Game Engine Issues
Tuning specific behavior (controls, friction, restitution, mass, etc...)
- Player Control
- Player Movement
- Character Controller
- Stuck in corners
- Code Example for Detecting if b2Body is Resting on Top?
- Player Movement and Max Speed
- Player Controller
