UChaosPhysicalMaterial

Physical materials are used to define the response of a physical object when interacting dynamically with the world.

Choose your operating system:

Windows

macOS

Linux

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

Name Description

Public variable

float

 

AngularEtherDrag

Uniform angular ether drag, the resistance a body experiences to its rotation.

Public variable

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)

Public variable

float

 

LinearEtherDrag

Uniform linear ether drag, the resistance a body experiences to its translation.

Public variable

float

 

Restitution

Restitution or 'bounciness' of this surface, between 0 (no bounce) and 1 (outgoing velocity is same as incoming).

Public variable

float

 

SleepingAngularVelocityThreshold

How much to scale the damage threshold by on any destructible we are applied to

Public variable

float

 

SleepingLinearVelocityThreshold

How much to scale the damage threshold by on any destructible we are applied to

Public variable

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

Name Description

Public function

UChaosPhysicalMaterial

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Const

void

 

CopyTo

Update the values in Mat_ to reflect the values in this UObject_.