massOverride
Selects which of the mass, rotational inertia and center of mass are overridden with the authored values instead of being computed from the attached shapes. Anything without a matching bit is computed from the attached shapes as normal. Only applies to a Dynamic body. See PhysicsBody.massOverride.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Property
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public PhysicsBody.MassOverride massOverride { readonly get; set; }