Override OnMovementModeChanged causes Jump lag
I have overwritten OnMovementModeChanged function found in CharacterMovementComponent. The issue is that whenever the code is used, it causes a delay with the in-engine jump function.
For example, whenever the code is compiled and used, I have to push the jump button twice before I can jump again. Even if I wait several seconds before pushing the jump button, it still requires me to push it twice.
I know the code is the issue because when I take the code out and recompile, I can push the jump button as soon as the character lands, and the character will jump again.
Perhaps I didn't override it correctly?
Alright, so after so more research, I found my answer. The issue was that I didn't call the super when I over wrote the OnMovementModeChanged function.
Do the following and you will have no issues creating your own logic or setting variables (like getting the previous movement mode).
Follow this question
Once you sign in you will be able to subscribe for any updates here