Property CenterOfMass
- Namespace
- Box3D
- Assembly
- Box3D.NET.dll
CenterOfMass
Gets the world position of the centre of mass.
public Vector3 CenterOfMass { get; }Property Value
Remarks
Not the same as Box3D.Body.Position unless the shapes happen to be balanced around the body origin. Velocities are measured here.