Why is my character sliding

In my game, the character moves through jumping, but when it hits the ground, it slides. I think it’s a bug because it wasn’t doing it the other day and I haven’t messed with anything, but I’m not sure.

2 Likes

when you stop holding a button make up go into zero on the x velocity,or just disable gravity and make a custom gravity system

1 Like

It’s possible that its the capsule shape hitbox, you could also input 0 into forward velocity as well to stop.

1 Like

If you link the game we can take a better look and understand the problem

1 Like

Post a link to your game so we can take a look

1 Like

okay, https://flowlab.io/game/play/1500932

Change the shape of the player to a rectangle

Its the physics of the player. To fix this, your players friction should be 50.0 and its density.

2 Likes

Welcome to the Flowlab Community! Please don’t revive dead topics because nobody likes that here. Don’t ask me why.

2 Likes

It brings back old posts to the top pushing down newer topics that require attention making it harder to notice them.

2 Likes

And Gamoog would know of all people not to, from experience of course.

1 Like