Flashlight doesn't move vertically in multiplayer

Hi there,
i have made a very simple flashlight by attaching a SpotLight to the FirstPersonCamera and toggling it with the mouse button. But the light does not follow the player mouse y input from a third perspective.

Hi, answering my own question here:

It goes like this:

  1. Get mouse Input for Y => Run on
    server function with rotator
    reference =>

  2. Run on server function with rotator
    reference => Multicast Function with
    rotator reference =>

  3. Multicast Function with rotator
    reference => Set World rotation to
    flashlight

It’s a little glitchy, but it will work for now…

In the near future i will attach a socket to the mesh hand and make a

aim offset for it. I hope it will change the SpotLight rotation :S

I know I’m 4 years late, but I found that when setting the rotation as the spotlight, it constantly flashes on the client’s side. So I fixed this by referencing the player’s Follow Camera and it seemed to work. Hope this may help someone in the future!

hi AuditDJ can you send photo? how you repair it

Can you send photo how you repair it

@ LucasMarqs
Profile - LucasMarqs - Unreal Engine Forums)Thank you, buddy! I understand that many years have passed, but you have helped me a lot.