Problems with my "Collide and Slide" implementation.

Here’s how you post code on these forums: Using code tags properly