Unofficial Forum FAQ

Unofficial Forum FAQ

Warning: This is not a substitute for the manual or for searching the forums, but a supplement. Hopefully it will point you to some helpful discussions without having to find the correct keywords to search for.


This is basically a stopgap until we have a functioning wiki, and might make a good start as to how to organize it. Since development is happening so fast, information in the manual is useful, but can be supplemented by discussion on the forums, especially depending on what version you are using. This is not a complete list of the incredibly useful information that is in the forums, so if you can't find it here or in the manual, search the forum or ask 🙂 If you know of a useful post that is not here, post to this article or PM me and I'll update it.

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
Using temporary addresses
Making a body without a shape

Scaling, tuning
Poll: Length units

Triginometry 101
Angle to Vector
Get angle in b2Mat22

Properties of bodies/shapes
AABB Question
Getting AABB from a shape?
how do you use b2Body::m_rotation?

Moving things around
ApplyImpulse vs ApplyForce

Other functions
How do you use b2World::Query?


Joints

Using joints
How to model a pinball paddle?
Problems with anchorpoints when creating a joint
Prismatic Joints

Motors
Using Motors


Advanced

Prevent objects from rotating

Controlling what collides (masks, groups)
Selecting what can interact
Collision Filtering

Custom response to collisions
Explosions
Direction of Collision Normals Question
Adding sound to collision events

Sensors
Sensors are in 2.0, but if you need them in ~1.4.3 you can hack them in per the instructions here:
Moving over from APE: Solid and Collidable flags?

Dynamically modify bodies
Add/remove shapes is not supported until 2.0.
Changing other properties (ie size) is not supported.

Live updating of body's shape?


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

Multiple world spaces
side-scroller loading in of physics?

Culling
Objects Culling

Slow motion
Slow Motion / Bullettime Effect?

How to use physics/graphics together
Box2D Flash AS3 Help (about attaching graphics)

Saving physics information (serialization)
Serialization?
Great work brainclog! This is now a sticky.
This topic is obsolete. Please go to the wiki for the current FAQ.

http://www.box2d.org/wiki

Original thread: https://box2d.org/forum/viewtopic.php?t=362