ResetInertiaTensor()
Resets the inertia tensor value and rotation.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.PhysicsModule
public void ResetInertiaTensor()
Remarks
Computes the inertia tensor and the inertia tensor rotation from the colliders attached to this articulation body and stores it. When you call this method, the inertia tensor value and rotation are automatically updated after any modification of the articulation body.