The center of mass of the rigidbody in world space (Read Only).
Debug.Log(rigidbody.worldCenterOfMass);
using UnityEngine; using System.Collections; public class Example : MonoBehaviour { void Example() { Debug.Log(rigidbody.worldCenterOfMass); } }
import UnityEngine import System.Collections public class Example(MonoBehaviour): def Example() as void: Debug.Log(rigidbody.worldCenterOfMass)