I’m still having some problems…
I have this in my header file
UFUNCTION()
void CapsuleTouched();
and this in my constructor .cpp
CollisionSphere->OnComponentBeginOverlap.AddUniqueDynamic(this, &AMyActorClass::CapsuleTouched);
and this below
void AMyActorClass::CapsuleTouched(AActor* Other, UPrimitiveComponent* OtherComp, int32 OtherBodyIndex, bool bFromSweep, const FHitResult& SweepResult);
but compiler is giving me some crazy errors