Custom off-mesh link traversal logic

in this code, the value 5 is used for the height of the jump, and 1 for its duration. but 5 in my case is a lot, and if I reduce it, the character starts twitching. I noticed that the height value should be 5 times longer than the duration for normal operation. then how do I reduce the height of the jump? I am writing through a translator.

  1. Off-mesh links - A* Pathfinding Project