1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. 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.

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

Discussion in 'Programming' started by EvilT-ModZ, Jun 4, 2018.

  1. EvilT-ModZ

    EvilT-ModZ Un-Gravitify

    Joined:
    Aug 3, 2011
    Messages:
    42
    Likes Received:
    0
    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!
     

Share This Page