Rigidbody.worldCenterOfMass

var worldCenterOfMass : Vector3

Description

The center of mass of the rigidbody in world space (Read Only).

JavaScript
    Debug.Log(rigidbody.worldCenterOfMass);