Hi there,
I’ve been trying to do this with Corona;

I managed to do it by setting a high Y value like 2000, calculating X according to line equation and using transition.to() to move to that X,Y position on that route. But when I do it like this I’m not getting the collision and bounce results I want. So I’m trying to do this by physics and setLinearVelocity() so that I can get better collision physics.
But I have no idea how to calculate that X and Y value in setLinearVelocity(). I tried some formulas but none worked. Any of you can help me? Thanks in advance.
*I always get stuck on the easiest math problems 