Answers for "oncomponentendoverlap ue4 c++"

C++
0

oncomponentendoverlap ue4 c++

// Signature for OnOverlapEnd
UFUNCTION()
void OnOverlapEnd(UPrimitiveComponent* OverlappedComponent, AActor* OtherActor, UPrimitiveComponent* OtherComp, int32 OtherBodyIndex);

// In the constructor make sure to use AddDynamic to handle this function dynamically
TriggerComp->OnComponentEndOverlap.AddDynamic(this, &AClass::OnOverlapEnd);
Posted by: Guest on November-19-2020

Browse Popular Code Answers by Language