Skip to content

Roadmap for refactor and improvement of player movement code #5253

@engiValk

Description

@engiValk

Motivation

  • Currently the player movement code is deprecated and has some issues in implementation that has caused movement issues. It is also been a while since it has had a bit of a tidy up.

Proposal

  • Going to rework the movement code and the MovementMode(STATE) enum to make it more extendable and generally easier to work with. Main focus is fixing the SWIMMING enum as currently it just lowers gravity to simulate more accurate buoyancy and to ensure no more issues arise from it.

Concerns

  • Might end up affecting networking side of things if it uses predictive movement but I will fix it as it comes up.

Task Breakdown

  • Replace the MovementMode enums with ones that are more extendable and don't constantly affect key character states like gravity.

Metadata

Metadata

Assignees

Labels

Category: DocRequests, Issues and Changes targeting javadoc and module documentationStatus: Needs DiscussionRequires help discussing a reported issue or provided PR

Type

No type

Projects

Status

Next Milestone

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions