Because as you did in this question you’re changing the entire vector instead modify just the x component. You need to separate how you treat the x speed (moviment) from the y speed (jump/gravity)
Because as you did in this question you’re changing the entire vector instead modify just the x component. You need to separate how you treat the x speed (moviment) from the y speed (jump/gravity)