worldCenterOfMass
Gets the center of mass of the rigidBody in global space.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.Physics2DModule
public Vector2 worldCenterOfMass { get; }
public Vector2 worldCenterOfMass { get; }