I divided the problem into two parts: Collision and Movement on the Ramp: and finally: Hope it helps...But please check my maths!