UChaosGameplayEventDispatcher::RegisterForCollisionEvents

Use to subscribe to collision events.

Windows
MacOS
Linux

References

Module

ChaosSolverEngine

Header

/Engine/Source/Runtime/Experimental/ChaosSolverEngine/Public/Chaos/ChaosGameplayEventDispatcher.h

Include

#include "Chaos/ChaosGameplayEventDispatcher.h"

Source

/Engine/Source/Runtime/Experimental/ChaosSolverEngine/Private/Chaos/ChaosGameplayEventDispatcher.cpp

Syntax

void RegisterForCollisionEvents
(
    UPrimitiveComponent * ComponentToListenTo,
    UObject * ObjectToNotify
)

Remarks

Use to subscribe to collision events.

Parameters

Parameter

Description

ComponentToListenTo

The component whose collisions will be reported

ObjectToNotify

The object that will receive the notifications. Should be a PrimitiveComponent or implement IChaosNotifyHandlerInterface, or both.

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