Player Sticking to walls
Hey everyone, I know this has been asked before but I cant seem to find anything that works for me. Im making a 2D Platformer where player jumps from one ledge/platform to another. When im running forward (holding the right arrow key) and jump into a ledge, he gets stuck there until I release the arrow key. Does anyone know how to keep him from doing this, he has a box collider and rigidbody attached to him that I will upload a picture of. He also has a second collider called "groundcheck" attached to him, at his feet as a child. This is use to check that that player is on the "Ground" and if they are not, they can not keep jumping or walking. Any help is greatly appreciated and I will upload anything else that is needed! Thanks everyone!
Answer by Miguel_cs · Jul 31, 2017 at 10:37 PM
That's because you have no "material" in neither the object nor the wall. Go to Assets - create - material , then change bounciness to a value from 0 to 1, being 1 full rebounce. Probably you want to add a material to both depending on what u are doing.
There is no option to adjust the bounce after doing Assets - create - material.
The last part of the order is wrong. It is Assets - create - Physics material 2D , for 2D games