I changed the amout of friction and slightly improved the bouncing off retctagles/sticking to them, but it dopes not work correctly when trying to exit from a collision at any diagonal.