Classes | Enumerations
b2_body.h File Reference
#include "b2_api.h"
#include "b2_math.h"
#include "b2_shape.h"
Include dependency graph for b2_body.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  b2Body
 A rigid body. These are created via b2World::CreateBody. More...
 
struct  b2BodyDef
 

Enumerations

enum  b2BodyType { b2_staticBody = 0, b2_kinematicBody, b2_dynamicBody }
 

Enumeration Type Documentation

◆ b2BodyType

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 

Definition at line 43 of file b2_body.h.



mvsim
Author(s):
autogenerated on Tue Jul 4 2023 03:08:22