Options
All
  • Public
  • Public/Protected
  • All
Menu

This holds the mass data computed for a shape.

Hierarchy

  • b2MassData

Index

Constructors

Properties

Constructors

Properties

I: number

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

center: b2Vec2

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

mass: number

The mass of the shape, usually in kilograms.

Generated using TypeDoc