71 virtual int32 GetChildCount()
const = 0;
96 virtual void ComputeMass(
b2MassData* massData,
float density)
const = 0;
float mass
The mass of the shape, usually in kilograms.
b2Vec2 center
The position of the shape's centroid relative to the shape's origin.
float I
The rotational inertia of the shape about the local origin.
An axis aligned bounding box.
This holds the mass data computed for a shape.