Download

Lock- on in the character blueprint

Okay so I’ve place a variable within the PlayerState That determines teams, and in game mode it assigns a team to each person that joins via OnPostLogin with a flip/flop node:


Then in the character blueprint I’m trying to access the array of connected players and if someone on the other team is found, create a variable to keep track of their location.
At the moment both player’s lock onto what I assume is the world origin, the camera updates just fine and rotates smoothly while focusing on a single point but I just can’t seem to get it to focus on the players. I’ve been at this for almost 3 months now with no luck, if anyone could explain what I keep overlooking I’d be ever-grateful.