ModifiableMassProperties
Mass-related modifiable properties of a contact pair.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Struct
- Namespace: UnityEngine
- Assembly: UnityEngine.PhysicsModule
public struct ModifiableMassProperties
Remarks
Mostly useful to make a collider appear lighter to the solver than it actually is when the bodies in this contact pair have very different mass values.
Fields
Value | Description |
|---|---|
| inverseInertiaScale | The inverse inertia scaling that the solver should apply to the first body of this contact pair. |
| inverseMassScale | The inverse mass scaling that the solver should apply to the first body of this contact pair. |
| otherInverseInertiaScale | The inverse inertia scaling that the solver should apply to the second body of this contact pair. |
| otherInverseMassScale | The inverse mass scaling that the solver should apply to the second body of this contact pair. |