On close inspection the RayCasts for slope detection actually work pretty well at their current distance, widening them makes the player think it's on slopes prematurely. We could possibly explore extending the length and tweaking the logic a little if we want to robot to lean over edges.
The not being able to jump on edges problem is fixed by 43a0689, I changed RobotController to using Collider2D.IsTouchingLayers() instead of Physics2D.OverlapCircle()
On close inspection the RayCasts for slope detection actually work pretty well at their current distance, widening them makes the player think it's on slopes prematurely. We could possibly explore extending the length and tweaking the logic a little if we want to robot to lean over edges. The not being able to jump on edges problem is fixed by 43a0689, I changed RobotController to using Collider2D.IsTouchingLayers() instead of Physics2D.OverlapCircle()