Physical materials are used to define the response of a physical object when interacting dynamically with the world.
Member | Type | Offset | Share |
---|---|---|---|
Friction
Surface properties.Friction value of a surface in motion, controls how easily things can slide on this surface (0 is frictionless, higher values increase the amount of friction) |
float | 0x28 | |
StaticFriction
Friction value of surface at rest, controls how easily things can slide on this surface (0 is frictionless, higher values increase the amount of friction) |
float | 0x2c | |
Restitution
Restitution or 'bounciness' of this surface, between 0 (no bounce) and 1 (outgoing velocity is same as incoming). |
float | 0x30 | |
LinearEtherDrag
Uniform linear ether drag, the resistance a body experiences to its translation. |
float | 0x34 | |
AngularEtherDrag
Uniform angular ether drag, the resistance a body experiences to its rotation. |
float | 0x38 | |
SleepingLinearVelocityThreshold
How much to scale the damage threshold by on any destructible we are applied to |
float | 0x3c | |
SleepingAngularVelocityThreshold
How much to scale the damage threshold by on any destructible we are applied to |
float | 0x40 |