기술 자료

Unity Engine

Unity Engine

automaticInertiaTensor

Whether or not to calculate the inertia tensor automatically.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

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

Remarks

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