Hi, i’m making a game where the player can switch between 3 different phases. Each phase has it’s own skeletal mesh and use in the game. For example, phase 2 can only walk whilst phase 3 can walk and run.
I had 2 choices for this:
1- Have 3 different player character and possess them at runtime when desired.
2- Use the same blueprint for all 3 characters. I went for option 2 as it would be weird having to delete the current character and spawn a new one when changing phase.
My problem with this is that it’s complicated for inputs. For example, for an action, I need 3 different usage for the same action, based on the phase the player is using. I use an enum for this. And I use switch on Enum. The problem is, I need to plug this node on every action! I’m just at prototype state and my player character blueprint looks terribly messy.
Is there a way I could separate the actions? Like, use different controllers for the same character? I know it sounds weird, but I need help with that. Thanks you in advance.