|
Torque2D Reference
|
This holds the mass data computed for a shape. More...
#include <b2Shape.h>
Public Attributes | |
| float32 | mass |
| The mass of the shape, usually in kilograms. More... | |
| b2Vec2 | center |
| The position of the shape's centroid relative to the shape's origin. More... | |
| float32 | I |
| The rotational inertia of the shape about the local origin. More... | |
This holds the mass data computed for a shape.
| 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.
| float32 mass |
The mass of the shape, usually in kilograms.
1.8.10