TakeDamage question

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?

Basically nothing. Just broadcast that it received damage.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms