Skip to content

Convert SpeedRate and LookMode into MonoBehaviours #29

@rob1997

Description

@rob1997

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

Metadata

Metadata

Assignees

Labels

enhancementImprovements to existing feature

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions