We want our player to be able to switch between stances.
For now, we want this to happen on an event basis. That is, when the player stands next to a specific altar, they might switch into the flow state.
So, for the implementation, we want the following:
Create a component/script that contains a function that takes in a parameter. The parameter will represent the state we want to switch to. Calling this function moves the player's current state to the state specified by the parameter.
To test this, add a cube or some other object to your test scene and create a trigger zone around that cube. When the player walks towards the cube and is within a certain range, we want the script to switch the player from the base Discord stance to a Flow stance.
We want our player to be able to switch between stances.
For now, we want this to happen on an event basis. That is, when the player stands next to a specific altar, they might switch into the flow state.
So, for the implementation, we want the following:
To test this, add a cube or some other object to your test scene and create a trigger zone around that cube. When the player walks towards the cube and is within a certain range, we want the script to switch the player from the base Discord stance to a Flow stance.