UStaticMeshSimulationComponent

[UStaticMeshSimulationComponent](API\Runtime\GeometryCollectionEngine\GeometryCollection\UStaticMeshSimul-)

Windows
MacOS
Linux

Inheritance Hierarchy

UObjectBase

UObjectBaseUtility

UObject

UActorComponent

UStaticMeshSimulationComponent

References

Module

GeometryCollectionEngine

Header

/Engine/Source/Runtime/Experimental/GeometryCollectionEngine/Public/GeometryCollection/StaticMeshSimulationComponent.h

Include

#include "GeometryCollection/StaticMeshSimulationComponent.h"

Syntax

class UStaticMeshSimulationComponent :
    public UActorComponent,
    public IChaosNotifyHandlerInterface

Remarks

Variables

Name Description

Public variable

bool

 

bNotifyCollisions

If true, this component will get collision notification events (

Public variable

AChaosSolverAct...

 

ChaosSolverActor

Chaos RBD Solver

Public variable

ECollisionTypeE...

 

CollisionType

CollisionType defines how to initialize the rigid collision structures.

Public variable

float

 

DamageThreshold

Damage threshold for clusters.

Public variable

EImplicitTypeEn...

 

ImplicitType

CollisionType defines how to initialize the rigid collision structures.

Public variable

FVector

 

InitialAngularVelocity

Public variable

FVector

 

InitialLinearVelocity

Public variable

EInitialVelocit...

 

InitialVelocityType

Public variable

float

 

Mass

Mass in Kg

Public variable

int32

 

MaxLevelSetResolution

Resolution on the smallest axes for the level set. (def: 10)

Public variable

int32

 

MinLevelSetResolution

Resolution on the smallest axes for the level set. (def: 5)

Public variable

EObjectStateTyp...

 

ObjectType

ObjectType defines how to initialize the rigid collision structures.

Public variable

FOnChaosPhysics...

 

OnChaosPhysicsCollision

Public variable

const UChaosPhy...

 

PhysicalMaterial

Physical Properties

Public variable

bool

 

Simulating

When Simulating is enabled the Component will initialize its rigid bodies within the solver.

Constructors

Name Description

Public function

UStaticMeshSimulationComponent

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

void

 

ForceRecreatePhysicsState()

Changes whether or not this component will get future break notifications.

Public function Const

const TShare...

 

GetPhysicsScene()

Public function

void

 

ReceivePhysicsCollision

(
    const FChaosPhysicsCollisionInfo& ...
)

Overridden from UActorComponent

Name Description

Protected function Virtual Const

bool

 

HasValidPhysicsState()

Used to check that DestroyPhysicsState() is working correctly

Protected function Virtual

void

 

OnCreatePhysicsState()

Used to create any physics engine information for this component

Protected function Virtual

void

 

OnDestroyPhysicsState()

Used to shut down and physics engine structure for this component

Protected function Virtual Const

bool

 

ShouldCreatePhysicsState()

Return true if CreatePhysicsState() should be called.

Public function Virtual

void

 

TickComponent

(
    float DeltaTime,
    enum ELevelTick TickType,
    FActorComponentTickFunction* T...
)

Function called every frame on this ActorComponent.

Overridden from IChaosNotifyHandlerInterface

Name Description

Public function Virtual

void

 

DispatchChaosPhysicsCollisionBlueprintEvents

(
    const FChaosPhysicsCollisionInfo& ...
)

Implementing classes should override to dispatch whatever blueprint events they choose to offer

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss