Module |
|
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 |
void RegisterForCollisionEvents
(
UPrimitiveComponent * ComponentToListenTo,
UObject * ObjectToNotify
)
Use to subscribe to collision events.
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. |