You need to add the arguments to be passed into the function
UFUNCTION()
void CapsuleTouched(AActor* Other, UPrimitiveComponent* OtherComp, int32 OtherBodyIndex, bool bFromSweep, const FHitResult& SweepResult);
Hopefully that is it =)
You need to add the arguments to be passed into the function
UFUNCTION()
void CapsuleTouched(AActor* Other, UPrimitiveComponent* OtherComp, int32 OtherBodyIndex, bool bFromSweep, const FHitResult& SweepResult);
Hopefully that is it =)