Replicating camera on actor component fails to add pitch value

im trying to allow for some actor components to be attached and to be used in the direction a camera is pointing (in this case a hitscan weapon currently in debug mode). The problem is that anyway I try to replicate or transfer information for the pitch value fails and gets set to zero unless i make the whole actors pitch rotate. Im assuming in some way shape of for pitch isn’t considered by the server but I’m very new. i have my parts split into a main weapon class and a child class. the parent is the first 2 photos and the child is the second 2. the first one of each is what i initially intended for it to look like. the second is attempting to debug it.


what parent should look like atleast ideally

attempt to debug parent

what the code shoudl be ideally for child

attempt to debug child.
ive tried copying the rotator value aswell to no avail.

Camera rotation is already replicated.

From the pawn class… Get Base Aim Rotation


The Camera Component on Server and Simulated proxies does not get updated. Meaning the new values for pitch, roll, yaw are not applied to the component.

You have to manually apply these changes to the component as needed (on tick).

Relative Camera Location is also not updated on Server/Sim proxies. To get the actual location on these proxies you need to use Camera ManagerGet Camera Location.

how should i update it on tick. for some reason the values aren’t saved

All Day, Every Day

Instead of doing casts you’re better off using BP Interfaces.

Interface version

1 Like