Simple Replicated Ragdoll System
https://www.fab.com/listings/d06cd611-7954-4ea2-b09c-415cdf323e89
Every Multiplayer Game could benefit from replicated ragdolls!
When will this be useful?
- Something explodes near the player
- The character trips or falls
- Character gets knocked out / Hit by object or weapon
- Character dies, but gets revived
No matter the situation, sRRS will make sure that the Actors’ location stays roughly¹ replicated on all clients during ragdoll simulation.
¹ should stay within 1 meter of the server position
How does it work?
sRRS handles the ragdoll calculation on the server and returns the updated ragdoll position to each client when possible. The client will then interpolate the local mesh position to that location as smoothly as possible while locally simulating the ragdoll effect. While this does result in the ragdoll not being 100% similar on all clients, this greatly improves network performance while keeping the location roughly replicated on all clients.
Why sRRS?
- 100 % Blueprints
- Easy to implement into your project
- Works with all server-setups
- Easy to modify
- Features Recovery-Logic
- Works with any character/skeleton
- Features Example Logic (Only 4.24 or later)
- Debugging / Testing built in
Technical Details
Features:
- Easy to implement into your project: All necessary functions in one component!
- Works with all server-setups: whether you’re using P2P, dedicated servers or simply want an easy solution to add a ragdoll to your Single-Player game, the sRRS will work.
- Easy to modify: 100 % developed using documented Blueprints.
- Features Recovery-Logic: After the player is revived or gets up on his own, he can then continue with normal gameplay.
- Works with any character / skeleton: animations are built using the default Unreal Engine Skeleton, but the sRRS component will work for all characters, no matter their skeleton. Set up a physics asset and you are ready to go!
- Features Example Logic: In the provided demo map, the player can punch other characters, throw grenades, get catapulted by a geyser and heal other characters. (Grenade / Geyser are only available for 4.24 or later)
- Debugging / Testing built in: Can simulate a bad connection and display the accuracy of the replication.
Number of Blueprints: 1 Component (all versions), 3 Blueprints containing example logic (only 1 for 4.23 or earlier)
Input: Gamepad, Keyboard & Mouse
Network Replicated: Yes
Supported Platforms: should work on all, but only tested on Windows
Support: help.coregames@gmail.com
Documentation: Implementation Guide (Google Docs)
Important/Additional Notes: The exact ragdoll pose can vary between clients, as it is not replicated bone by bone.