ワールド座標による質量の中心値 (Read Only)
Debug.Log(rigidbody.worldCenterOfMass);
using UnityEngine; using System.Collections; public class ExampleClass : MonoBehaviour { void Example() { Debug.Log(rigidbody.worldCenterOfMass); } }
import UnityEngine import System.Collections public class ExampleClass(MonoBehaviour): def Example() as void: Debug.Log(rigidbody.worldCenterOfMass)