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