Devlog 6: Addressing Player Movement Bugs
Devlog 6: Addressing Player Movement Bugs
Project: Mini Project - Climbing System
Objective: Fix player floating away bug
Progress:
- There is an issue where if the player is walking/moving when pressing space to grab a ledge they will float away.
- They float in the direction that they were moving since its based off velocity
- It is based on the player momentum, so knowing this I was able to trace the code to find where I should set the velocity of the player to stop this from happening
Next Steps:
- Contiune to keep testing for bugs with the climbing system
- Try to improve the responsivness with the climbing system
Challenges
- Debugging the float away bug required me to go through all the code of player movement
Reflection:
- This bug highlights the importance of state handling and how each state modifies how velocity is handled in the engine.
Comments
Post a Comment