ドキュメント

Unity Engine

Unity Engine

automaticCenterOfMass

Whether or not to calculate the center of mass automatically.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
public bool automaticCenterOfMass { get; set; }

Remarks

If enabled, the center of mass is calculated automatically based on the settings of attached Colliders. If no colliders are present, the center of mass has a default value of Vector3(0,0,0).