INCONSISTENT JUMP HEIGHTS: Player jumps higher and falls faster when idle, however jumps lower and glides when moving.

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By kage28

I tried to implement a smoother walking system to my kinematicbody, and resulted with interpolating linear_velocity with acceleration and deceleration values. I feel like this is what’s affecting the jump behaviour, is there anyway i can preserve the y value from interpolation?

here’s my pastebin: extends KinematicBodyexport var linear_velocity = Vector3.ZEROvar ve - Pastebin.com