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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback