Navigation
API > API/Runtime > API/Runtime/PhysicsCore > API/Runtime/PhysicsCore/Chaos
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UChaosPhysicalMaterial
References
| Module | PhysicsCore |
| Header | /Engine/Source/Runtime/PhysicsCore/Public/Chaos/ChaosPhysicalMaterial.h |
| Include | #include "Chaos/ChaosPhysicalMaterial.h" |
Syntax
class UChaosPhysicalMaterial : public UObject
Remarks
Physical materials are used to define the response of a physical object when interacting dynamically with the world.
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | AngularEtherDrag | Uniform angular ether drag, the resistance a body experiences to its rotation. | |
| float | 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 | LinearEtherDrag | Uniform linear ether drag, the resistance a body experiences to its translation. | |
| float | Restitution | Restitution or 'bounciness' of this surface, between 0 (no bounce) and 1 (outgoing velocity is same as incoming). | |
| float | SleepingAngularVelocityThreshold | How much to scale the damage threshold by on any destructible we are applied to | |
| float | SleepingLinearVelocityThreshold | How much to scale the damage threshold by on any destructible we are applied to | |
| float | 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) |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UChaosPhysicalMaterial
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | CopyTo
(
Chaos::FChaosPhysicsMaterial& Mat |
Update the values in Mat_ to reflect the values in this UObject_. |