|
Box2D
2.2.1
Box2D API Reference for Kobold2D developers
|
This holds the mass data computed for a shape. More...
#include <b2Shape.h>
Collaboration diagram for b2MassData:Public Attributes | |
| float32 | mass |
| The mass of the shape, usually in kilograms. | |
| b2Vec2 | center |
| The position of the shape's centroid relative to the shape's origin. | |
| float32 | I |
| The rotational inertia of the shape about the local origin. | |
This holds the mass data computed for a shape.
The position of the shape's centroid relative to the shape's origin.
| float32 b2MassData::I |
The rotational inertia of the shape about the local origin.
| float32 b2MassData::mass |
The mass of the shape, usually in kilograms.