UChaosClothingSimulationInteractor

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

ChaosCloth

Header

/Engine/Plugins/Experimental/ChaosCloth/Source/Chaos/Public/ChaosCloth/ChaosClothingSimulationInteractor.h

Include

#include "ChaosCloth/ChaosClothingSimulationInteractor.h"

Syntax

UCLASS(BlueprintType)
class UChaosClothingSimulationInteractor : public UClothingSimulationInteractor

Overridden from UClothingSimulationInteractor

Name Description

Public function Virtual

void

 

ClothConfigUpdated()

Called to update the cloth config without restarting the simulation.

Protected function Virtual

UClothingInt...

 

CreateClothingInteractor()

Public function Virtual

void

 

DisableGravityOverride()

Disable any currently set gravity override.

Public function Virtual

void

 

EnableGravityOverride

(
    const FVector& InVector
)

Set a new gravity override and enable the override.

Public function Virtual

void

 

PhysicsAssetUpdated()

Called to update collision status without restarting the simulation.

Public function Virtual

void

 

SetAnimDriveSpringStiffness

(
    float InStiffness
)

Set the stiffness of the spring force for the animation drive.

Public function Virtual

void

 

SetNumIterations

(
    int32 NumIterations
)

Set the number of solver iterations.

Public function Virtual

void

 

SetNumSubsteps

(
    int32 NumSubsteps
)

Set the number of substeps or subdivisions.

Public function Virtual

void

 

Sync

(
    IClothingSimulation* Simulatio...,
    IClothingSimulationContext* Co...
)

Sync the interactor to the provided context for the clothing simulation to use on its next update.