Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After recover from ragdoll on client the animations are sped up #434

Open
kpitikaris opened this issue Feb 2, 2023 · 1 comment
Open
Assignees
Labels
bug Something isn't working

Comments

@kpitikaris
Copy link

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Start as Listen Server with 2 Players
  2. Go on the Client and press X to enter ragdoll and then press X again to recover
  3. Take a look at Host Player and move the Client
  4. You will see the animations are too fast

Expected behavior
The Animations on client are faster

Screenshots and Videos
Not neccessary easy to reproduce

@kpitikaris kpitikaris added the bug Something isn't working label Feb 2, 2023
@kpitikaris
Copy link
Author

Fix:
Do this at RagdollEnd function
if(!IsNetMode(NM_Client))
{
GetMesh()->bOnlyAllowAutonomousTickPose = GetRemoteRole() == ROLE_AutonomousProxy && IsValid(GetNetConnection()) && IsPawnControlled();
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants