You must apply force to the angle (angle(trampoline.X, trampoline.Y,character.X,character.Y));
That should fix it.
Develop games in your browser. Powerful, performant & highly capable.
Member since 6 Oct, 2022