How to replicate aiming for sidescroller


We’re trying to replicate aiming in a game based on the Side scroller.
More specifically, we’d like to replicate the player’s aim rotation so when we shoot a projectile from a client, it replicates the rotation/forward vector to all other clients for this projectile
Thanks in advanced

UE has a pretty straightforward way of handling multiplayer replication. There are many tutorials out there on different ways to do it. In principle, you would need to have a character, add a rotation variable to it and then in the ‘tick’ event update the control rotation. Here’s a tutorial on it for a 3D game: