Hello everyone,
So i have the following overlap event:
void AHealthPack::OnOverlapBegin(class AActor* OtherActor, class UPrimitiveComponent* OtherComp, int32 OtherBodyIndex, bool bFromSweep, const FHitResult& SweepResult)
{
if ((OtherActor != nullptr) && (OtherActor != this) && (OtherComp != nullptr))
{
if (...)
Destroy();
}
}
Its messed up i know…
i’d like to check ‘which’ player in the network has overlapped with the actor?
knowing that i have multiple players (not just 2) in the network…
Regards,
ALMansoori