Package | Box2D.Collision.Shapes |
Class | public class b2MassData |
Source | b2MassData.as |
Property | Defined 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 |
center | property |
public var center:b2Vec2
The position of the shape's centroid relative to the shape's origin.
I | property |
public var I:Number = 0.0
The rotational inertia of the shape.
mass | property |
public var mass:Number = 0.0
The mass of the shape, usually in kilograms.