Ask coding questions

← Back to all posts
How do I stop my player from constantly bouncing up and down on a platform?
studentKaushik1 (0)

I'm trying to think of a solution where I can detect when the player isn't touching a platform (before, if I touched a platform, the player would stand in the air until you jumped again, I've fixed this problem, but I need to fix my new one) and apply gravity/let them jump when they are touching a platform without the player constantly bouncing up and down.


Its because you made a loop in stop next to jump.


What would be the keys to move the player?

studentKaushik1 (0)

w (up), a and d (left and right)