Closed cfkh closed 6 years ago
If there isn't an already existing way of doing this it may be implemented as checking directions to the left and right of the direction the player wants to walk in that's blocked up to a maximum of 90 degrees. choose the first direction that allows movement without a collision.
When coliding with an obstacle the Main Character should slide along the obstacles edges.