GetDensity()
Get the shape density. See PhysicsBody.massConfiguration.
Read time 1 minuteLast updated 9 days ago
Definition
- Type: Method
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
public float GetDensity()
Returns
Type | Description |
|---|---|
| float | The density of the shape. |