I am making a 2D Sidescroller. When my character comes into contact with the side of block, and I am still pressing, for example left. He will get 'stuck' to the wall.

If I jump off of a platform and go into the side of it, my player will just stick to the side of the object.

I would like to know how to implement smooth collision for my player, with the sides of objects.

I don’t think I need to post code because it is the most simple left/right movement script I could come up with.

Thanks.

Hi Louster2899 , a quick solution for this is to adding material on your object like “Slippery” …Ex. : Object with Box Collider 2D -->> Material -->> Slippery :stuck_out_tongue: