CalculateMassConfiguration(float)
Calculate the mass configuration of the geometry.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public readonly PhysicsBody.MassConfiguration CalculateMassConfiguration(float density = 1)
Parameters
The density to use.
Returns
Type | Description |
|---|---|
| MassConfiguration | The calculated mass configuration. |