Hi.
I’m wondering why should I even use the player state class if, for example, you’re building a 3D shooter game? I figured that all the character dependent stuff (like, say, health) can be stored in the player character.
All the stuff that needs to persist past the character (say, if the player dies, and gets resurrected/starts a new round) can be stored on the player controller.
So, in what situation would you even need to use player state? Doesn’t it only over complicate everything by introducing another class?
You also change the player controller when you change form, enter a vehicle or domething along the lines of that.
You dont need it, but having it is useful.
Also good for savegames.
Hth