ModifiableMassProperties
Mass-related modifiable properties of a contact pair.
Read time 1 minuteLast updated 5 days ago
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. |