Hello folks!
I have a problem: bTearOff TRUE does not do anything, TornOff() is not being called, also new clients will have this character floating in the initial position as well.
The code is pretty the same to ShooterExample, except OnDeath being called as NetMulticast. Also I've tried to return back the RepNotify (LastTakeHitInfo), but it does not help at all.
Thanks in advance!
I have a problem: bTearOff TRUE does not do anything, TornOff() is not being called, also new clients will have this character floating in the initial position as well.
Code:
void ARWSCharacter::OnDeath_Implementation(float KillingDamage, const FDamageEvent& DamageEvent, APawn* PawnInstigator, AActor* DamageCauser)
{
if (bIsDying) return;
bTearOff = true;
bIsDying = true;
The code is pretty the same to ShooterExample, except OnDeath being called as NetMulticast. Also I've tried to return back the RepNotify (LastTakeHitInfo), but it does not help at all.
Thanks in advance!