[][src]Module box2d_rs::b2_body

Structs

B2body

A rigid body. These are created via B2world::create_body.

B2bodyDef

A body definition holds all the data needed to construct a rigid body. You can safely re-use body definitions. Shapes are added to a body after construction.

BodyFlags

m_flags

Enums

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

Type Definitions

BodyPtr
BodyWeakPtr