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

Convert SpeedRate and LookMode into MonoBehaviours #29

Open
Tracked by #17
rob1997 opened this issue May 20, 2024 · 0 comments
Open
Tracked by #17

Convert SpeedRate and LookMode into MonoBehaviours #29

rob1997 opened this issue May 20, 2024 · 0 comments
Assignees
Labels
enhancement Improvements to existing feature

Comments

@rob1997
Copy link
Owner

rob1997 commented May 20, 2024

Description
Currently SpeedRate and LookMode are enum in MotionController. Convert them to MonoBehaviours instead.

Acceptance Criteria

  1. SpeedRate and LookMode are MonoBehaviour.
  2. All locomotion functions work as before.

Note
IMotionState would be a base state for all other states.
IMotionState has methods Initialize(MotionController motionController) Enable() and Disable()...consider UpdateState()
SpeedRate and LookMode should implement IMotionState
Move code from MotionController into IMotionState implementations.
This is a diagram for how motion states should be structured.
MotionStates

@rob1997 rob1997 mentioned this issue May 20, 2024
6 tasks
@rob1997 rob1997 self-assigned this May 20, 2024
@rob1997 rob1997 added the enhancement Improvements to existing feature label May 20, 2024
@rob1997 rob1997 mentioned this issue May 20, 2024
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvements to existing feature
Projects
None yet
Development

No branches or pull requests

1 participant