Hi, I have a question about the TakeDamage.
if (HitActor != nullptr)
{
FString name = GetDebugName(HitActor);
UE_LOG(LogTemp, Warning, TEXT("%s"), *name);
FPointDamageEvent DamageEvent(Damage, Hit, ShotDirection, nullptr);
HitActor->TakeDamage(Damage, DamageEvent, OwnerController, this);
}
The wall and other props are also got hit by the bullet. What will the HitActor->TakeDamage do to these actors?