Struct RigidBodyMassData2D
This holds the mass data computed for a shape.
Inherited Members
Namespace: Evergine.Common.Physics2D
Assembly: Evergine.Common.dll
Syntax
public struct RigidBodyMassData2D
Fields
Center
The position of the shape's centroid relative to the shape's origin.
Declaration
public Vector2 Center
Field Value
Type | Description |
---|---|
Vector2 |
I
The rotational inertia of the shape about the local origin.
Declaration
public float I
Field Value
Type | Description |
---|---|
float |
Mass
The position of the shape's centroid relative to the shape's origin.
Declaration
public float Mass
Field Value
Type | Description |
---|---|
float |