centerOfMass
The center of mass of the rigidBody in local space.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.Physics2DModule
public Vector2 centerOfMass { get; set; }
public Vector2 centerOfMass { get; set; }