# Box2D/Box2D/Dynamics/b2Body.h File Reference

`#include <Box2D/Common/b2Math.h>`
`#include <Box2D/Collision/Shapes/b2Shape.h>`
`#include <memory>`

Go to the source code of this file.

## Classes
struct | b2BodyDef
class | b2Body
| A rigid body. These are created via b2World::CreateBody. More...
## Enumerations
enum | b2BodyType { b2_staticBody = 0, b2_kinematicBody, b2_dynamicBody }

## Enumeration Type Documentation

enum b2BodyType

The body type. static: zero mass, zero velocity, may be manually moved kinematic: zero mass, non-zero velocity set by user, moved by solver dynamic: positive mass, non-zero velocity determined by forces, moved by solver

Enumerator:

  b2_staticBody |
  b2_kinematicBody |
  b2_dynamicBody |