So I have been working on a mechanic where I have a spectator camera pawn lock-on to a character pawn. The aim is for my spectator camera pawn to rotate toward the character pawn’s position in the world at all times when I press the F key. The problem I am having is, for some reason when I set the target to lock-on as self (the spectator camera pawn) it works perfectly! But unfortunately when I set the target to be the character pawn it does not even perform the lock-on action. I have been stuck for some time, any help would be appreciated.
The first image depicts the key press functionality which calls a custom event which in turn calls a function over a network.
Within the function which contains the lock-on code