PhysicsBody.MassConfiguration
This holds the mass configuration computed for a PhysicsBody.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Struct
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public struct PhysicsBody.MassConfiguration
Properties
Property | Description |
|---|---|
| center | The position of the shape's centroid relative to the shape's origin. |
| mass | The mass of the shape, usually in kilograms. |
| rotationalInertia | The rotational inertia of the shape about the shape center. |