Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Programming:Player] Stance Switching #27

Open
henrywangzh opened this issue Feb 19, 2023 · 0 comments
Open

[Programming:Player] Stance Switching #27

henrywangzh opened this issue Feb 19, 2023 · 0 comments
Assignees

Comments

@henrywangzh
Copy link
Owner

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:

  1. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo - Programming
Development

No branches or pull requests

2 participants