UE4 - General [UE4 MP] bTearOff does not work on Characters

  • Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

EvilT-ModZ

Un-Gravitify
Aug 3, 2011
42
0
6
31
Russia
www.set-games.ru
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.

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!