IClothingSimulation::GetCollisions

Called by the engine to request data on all active collisions in a simulation.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

IClothingSimulation::GetCollisions()

FClothingSimulation::GetCollisions()

References

Module

ClothingSystemRuntimeInterface

Header

/Engine/Source/Runtime/ClothingSystemRuntimeInterface/Public/ClothingSimulationInterface.h

Include

#include "ClothingSimulationInterface.h"

Syntax

void GetCollisions
(
    FClothCollisionData & OutCollisions,
    bool bIncludeExternal
) const

Remarks

Called by the engine to request data on all active collisions in a simulation. if bIncludeExternal is true, derived implementations should add the asset collisions and any collisions added at runtime, if false only the collisions from the asset should be considered

Parameters

Parameter

Description

OutCollisions

Array to write collisions to

bIncludeExternal

Whether or not external collisions should be retrieved, or just asset collisions