In Multiplayer, I want to give the 2 players their own cameras that are predefined in the level. It works for Player 1 (server) but doesn’t work on Player2.
This is how I try to do it:
- GameMode: After Event OnPostLogin the GameMode gathers all the cameras, and gets the reference to the one called “Player1Camera” for the 1st, and “Player2Camera” for the 2nd player, and sends the reference to the PlayerController’s Custom Event.
- PlayerController tries to use that reference to call “Set View Target with Blend”, but the PlayerController only gets a “None” reference instead of the Player2Camera.
Is it because Player2Camera only exists on the server, or why? How should I modify it so it would works as I want?