I am coding and making my very first plat former game in Unity 4.5 2D.
Basically I want my character to ping pong between two walls.
I have set up a GroundCheck and CeilingCheck. I was thinking to add a WallCheck on the left and right of the character to detect the walls, but I will have platforms in the air, and if the character doesn't make the jump and hits the platform on the side I don't want it to turn around, but simply slide off and continue in it's current direction until it hits the wall again.
Coding in C# 1. Get the character ping pong from wall to wall 2. Know the difference between hitting the wall and hitting the side of a platform.