C# Class Box2DX.Collision.MassData

Show file Open project: KrugerHeavyIndustries/box2d-unity Class Usage Examples

Public Properties

Property Type Description
Center System.Vector2
I float
Mass float

Property Details

Center public property

The position of the shape's centroid relative to the shape's origin.
public Vector2,System Center
return System.Vector2

I public property

The rotational inertia of the shape.
public float I
return float

Mass public property

The mass of the shape, usually in kilograms.
public float Mass
return float