Glossary

From Box2D Wiki

Contents A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

A

AABB
Axis Aligned Bounding Box
Angular
Relating to rotation
Angular Inertia
...

B

Body
A basic component of matter
Box
A rectangle; a polygon shape of 4 sides and right angles.
Broadphase
The part of the physics engine that efficiently culls the number of collision to be tested.
Bullet
Bodies with the bullet flag set always use CCD to detect collisions.

C

CCD
Continuous Collision Detection
Center of mass
A physical property of a body, the point specifies what is the "center" of the shape weighted by mass. In the absence of external forces, a spinning body will spin about this point.
Circle
A fundamental shape: ○
Constraint
A constraint is a physical connection that removes degrees of freedom from bodies. In 2D a body has 3 degrees of freedom. If we take a body and pin it to the wall (like a pendulum) we have constrained the body to the wall. At this point the body can only rotate about the pin, so the constraint has removed 2 degrees of freedom.
Contact
The information describing Two bodies which are currently touching each other.
Contact Constraint
A special constraint designed to prevent penetration of rigid bodies and to simulate friction and restitution. You will never create a contact constraint, they are created automatically by Box2D.
Convex
The requirement that a line joining any two points in the given shape lies entirely within the shape.

D

Density
The mass per unit area that a shape takes up
Dynamic
Capable of motion, opposite of static

E

F

Factory
An object with a method used to instantiate other objects.
Filter
Preventing a collision from taking effect
Force
Acceleration per unit mass; the source of all action
Friction
A force generated perpendicular to a contact
Frozen
Bodies hitting the world boundary and not otherwise dealt with are frozen.

G

Gear
An advanced joint enabling two other joints to have their motion linked
Gravity
The force that pulls bodies together, frequently as a constant acceleration simulating an off screen massive body.
Ground
A static body that the world gives special distinction.

H

I

Impulse
An exchange of momentum between bodies.
Island
A group of bodies connected together by contacts and joints. Box2D simulates islands separately.
Iterations
The number of times, per step, that Box2D runs the converging solver loop.

J

Joint
This is a contraint used to hold two or more bodies together. Box2D supports these joint types: revolute, prismatic, distance, and more. Joints may support limits and motors.
Joint Limit
A joint limit restricts the range of motion of a joint. For example, the human elbow only allows a certain range of angles.
Joint Motor
A joint motor drives the motion of the connected bodies according to the joint's degrees of freedom. For example, you can use a motor to drive the rotation of an elbow.

K

L

Linked List
A convenient structure for storing lists of data discontinuously. Each element stores only it's neighbours.
Listener
...

M

Manifold
The set of contact points for two shapes
Mass
A physical property of a body determining its resistance to motion.

N

O

OBB
Oriented Bounding Box

P

Pair
A record created when two proxies overlap
Pair Manager
An internal class used for tracking pairs.
b2PolygonShape
A basic shape in Box2D formed by a loop of straight lines under certain restrictions, notably convexity.
Port
A copy of the Box2D library translated for another language.
Prismatic Joint
A joint with similar restrictions to that of a piston.
Proxy
Represents an AABB in the broadphase collision algorithm. Each b2Shape has a proxy
Pulley
A joint representing an implicit rope and pulley system. It relates two bodies by their respective distances to fixed anchor points.

Q

R

Restitution
A material property determining the resulting velocities after a collision.
Revolute Joint
...
Rigid Body
A chunk of matter that is so strong that the distance between any two bits of matter on the chunk is completely constant. They are hard like a diamond. In this wiki we use body interchangably with rigid body.

S

Sensor
Shapes marked as sensors never generate collision reactions, but still report events on when the colission occurred.
Shape
A 2D piece of collision geometry that is rigidly attached to a body. Shapes have material properties of friction and restitution.
Sleeping
A body is marked as sleeping if it is stationary and not accelerating. This allows Box2D to skip certain calculations, but requires it to be woken up to start moving again.
Static
Static bodies have no mass, and are entirely fixed in place. The opposite of dynamic

T

Testbed
The sample program coming with the Box2D distribution to demonstrate usage and features.
Time Step
A single call to b2World.Step.
Torque
The angular analogue of force

U

V

Vector
A pair of numbers representing a position or direction in cartesian co-ordinates.
Velocity
...
Vertex
A point, usually in regard to a system of segments.

W

World
...
Warm starting
An internal technique for improving the accuracy of the contact solver.

X

Y

Z

TOOLBOX
LANGUAGES