and what about constructors? does SpawnActor only works with templates(clases) with default constructors or i can manualy specify how exactly i want to spawn my actor(constructor with params or copy constructor). Maybe you could recomend some techincs to acomplish such task. Thanks!
@PobatoTutorials Yes. Having to spawn characters from the game mode and assign controller inputs to them. I think that's often the best practice so that the game mode can have every and any access to the player characters. For example, when the game starts, the game mode spawns the characters and anything related to characters' death, ability, etc would be visible to the game mode. The game mode can even determine who wins the game, who died first, etc. Correct me if this is the right approach to a simple fighting game
and what about constructors? does SpawnActor only works with templates(clases) with default constructors or i can manualy specify how exactly i want to spawn my actor(constructor with params or copy constructor). Maybe you could recomend some techincs to acomplish such task. Thanks!
What of spawning characters from game mode? Will you also spawn player controllers too?
Do you mean if you spawn a character manually in the game mode?
@PobatoTutorials Yes. Having to spawn characters from the game mode and assign controller inputs to them. I think that's often the best practice so that the game mode can have every and any access to the player characters. For example, when the game starts, the game mode spawns the characters and anything related to characters' death, ability, etc would be visible to the game mode. The game mode can even determine who wins the game, who died first, etc. Correct me if this is the right approach to a simple fighting game