Posses problem on client side.
I have two pawn classes. MainCharacter and MainSpectator. The game mode default pawn for the player controller is MainSpectator. What im trying to achieve is that when a client joins the game he will be possesing the Mainspectator and when he presses specific button the clients controller will spawn and possess a pawn of the type MainCharacter. This works good for the player on the server side( when running a non dedicated server). The client player however only gets moved to the newly spawn MainCharacter without been able to control it.
If i set the default pawn to MainCharacter everything replicates fine but i would really like to have this MainSpectator to MainCharacter thing happening.
So how do i make the client properly change possession from one pawn to the other?
This is the basics of my blue print class for the MainSpectator which inherits from SpectatorPawn.