Skip to content

PhysicsMassData Struct

Definition

Namespace: Brine2D.Physics

Mass properties of a physics body at a point in time.

C#
public readonly struct PhysicsMassData
Properties
Inertia Rotational inertia about the center of mass.
Mass Total mass of the body in simulation units.
WorldCenterOfMass World-space position of the center of mass in pixel coordinates.