I am using rigidbody.velocity to control player movement, but i am getting issue when the player moves to tight corners like in this video:-
I increased the radius of the collider which fixes it to some extent, but is there any other way of fixing it (other than increasing friction because it significantly changes the behavior of the player)??
Setting Rigidbody.velocity overrides the results of the physics solver (collisions, frictions, etc). The only way to control a Rigidbody that is compliant with the rest of the physics calculations is by using AddForce/AddTorque from FixedUpdate. More information:
Hey! This works only when some friction is set but when friction is zero, i get the same issue. I want walls friction to be zero because i want players to have the ability to jump when moving towards a wall, which does not work with friction.