Final example of player movement
This is the handling of the player within the game. This is how player objects move and run around.
Basic Features:
4 axis movement
Jump
Stretch Goal Features:
Slide
Crouch
Grapple
Wall running
After given the features we need and or want for this movement system, I've found that Dave / GameplayDevemopement(2023) has a really good movement system. It has all the basic features we need and the videos explaining it expand on each feature more and more, so if we have extra time we can further develop the movement system to include more features.
This system does work however there will need to be some tweaks to the original system to get it to work the way we want.
The base movement system uses the old unity input system. We want to have easy controller support and be able to configure controls, this requires changing all the current input methods and detection, and changing it to work with the input system.
Since the game is in third person and using controllers, it makes the most sense for the player to move forward in the direction relative to the camera. The original set up was for first person, so slight orientations to how movement is calculated was changed to invovle where the camera is facing. Now if you move up, the player will walk directly away from the camera.