b2Fixture * CreateFixture(const b2FixtureDef *def)
float GetAngularVelocity() const
const b2Vec2 & GetPosition() const
A rigid body. These are created via b2World::CreateBody.
void DestroyFixture(b2Fixture *fixture)
void SetLinearVelocity(const b2Vec2 &v)
const b2Vec2 & GetLinearVelocity() const
float angle
The world angle of the body in radians.
void SetAngularVelocity(float omega)
const b2Vec2 & GetWorldCenter() const
Get the world position of the center of mass.