#OnLanded being flaky
1 messages · Page 1 of 1 (latest)
I'm experiencing this issue while trying to end airborne abilities in GAS. I seem to be getting tons of corrections from my ability using UAbilityTask_ApplyRootMotionJumpForce during the jump. Would you go into detail on the issues you experienced and the solution?
I don't remember, it's been a while
But with corrections/bad network conditions there were times where OnLanded wouldn't call reliably
I'll try and see if I can find notes about it
There are issues with the CMC's jumping code
One being tracked for a potential fix in 5.6
I think our "fix" was just to hook onto OnMovementModeChanged instead of OnLanded
So we could reliably handle hitting the ground again
That sounds like a brilliant solution, because my current failsafe is to check for walking, which never seems to fail unlike OnLanded.
OnLanded only gets called once to prevent corrections calling it multiple times iirc