B2_API void b2LinearStiffness(float &stiffness, float &damping, float frequencyHertz, float dampingRatio, const b2Body *bodyA, const b2Body *bodyB)
Utility to compute linear stiffness values from frequency and damping ratio.
A rigid body. These are created via b2World::CreateBody.
float angle
The world angle of the body in radians.
b2Vec2 GetWorldPoint(const b2Vec2 &localPoint) const
b2Fixture * CreateFixture(const b2FixtureDef *def)