So I can’t seem to think of a nice way of having the player be unable to move up steep edges, my player is currently able to run straight up the side of something the same angle as a forward slash ( / ) which looks ugly and doesn’t make a lot of sense.
I have tried playing around with the Physics2D - Friction but I couldn’t get any good results.
The line(s) of code that control my player movement use Rigidbody2D velocity: rb2d.velocity = new Vector2(moveSpeed, rb2d.velocity.y);
Any pointers on how to stop my player being able to run up edges of a certain ‘steepness’ would be great.
Thanks ![]()