I have a sprinting system set up on a branch which is triggered by my Left Alt key. Along that, I made a supporting system which will stop your character from sprinting again when you stop moving, regardless of whether you’re walking or sprinting. I also set up a little bit of replication to allow clients to sprint as well.
My problem is that my server character only has to press Alt once while moving, but my client character has to press it twice while moving. Any ideas to fix this replication issue?
This solution is really good, but there is a problem, although the server receives information, it will not send it to other clients without Multicast, or is it just me?
Max Walk Speed is a replicated variable in the Character Movement Component. Thus the replication system will pass the values down. More so it sets the “Velocity” of simulated proxies.
No need to multicast/RPC anything from the server for this specific scenario.