Options
All
  • Public
  • Public/Protected
  • All
Menu

This holds the mass data computed for a shape.

Hierarchy

  • b2MassData

Index

Constructors

Properties

Constructors

constructor

Properties

I

I: number

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

center

center: b2Vec2

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

mass

mass: number

The mass of the shape, usually in kilograms.

Generated using TypeDoc