i used the foolw camera in my character class in my gun actor class for a line by trace channel bp and its not working it only spawns in the middle of the map

I got my follow camera from my character class to my gun actor class for a line by trace channel bp and its not working even when my character ref is editable