This holds the mass data computed for a shape.

Constructors

Properties

Constructors

Properties

center: b2Vec2

The position of the shape's centroid relative to the shape's origin.

I: number

The rotational inertia of the shape. This may be about the center or local origin, depending on usage.

mass: number

The mass of the shape, usually in kilograms.