PackageBox2D.Collision.Shapes
Classpublic class b2MassData
Sourceb2MassData.as

This holds the mass data computed for a shape.



Public Properties
 PropertyDefined by
  center : b2Vec2
The position of the shape's centroid relative to the shape's origin.
b2MassData
  I : Number = 0.0
The rotational inertia of the shape.
b2MassData
  mass : Number = 0.0
The mass of the shape, usually in kilograms.
b2MassData
Property detail
centerproperty
public var center:b2Vec2

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

Iproperty 
public var I:Number = 0.0

The rotational inertia of the shape.

massproperty 
public var mass:Number = 0.0

The mass of the shape, usually in kilograms.