I am trying to create first person multiplayer game, but I cannot figure out crouching. I read this thread [124174[/ATTACH]er-Questions-(Function-Variable-replication)"]https://forums.unrealengine.com/showthread.php?56739-Two-Multiplayer-Questions-(Function-Variable-replication)](https://forums.unrealengine.com/showthread.php?56739-Two-Multiplay[ATTACH=CONFIG)
and came up with the solution shown in the picture below. This however causes problems when other client is looking at the player. The player is jittering up and down but from their own perspective it works as expected.
I am currently simply setting the collision capsule half height and apart from the jittering problem it seems to work.
I have two replicated events: one for serverside so that the player is able to walk under obstacles and second one for clientside so that the camera moves. Any help is appreciated!
Here is also a video of the problem: