Hello .
I am currently developing some basic physics for an android game , but I’ve been for days trying to do a decent collision for a moving circle and a static line .
For the circle I have its center (a point cx,cy) the radius and it velocity vx and vy .
For the line I have the points Pa and Pb that describe the line .
I can already detect when a collision occurs .
But what I’m suffering to find is the final velocity vx and vy after the collision .
Any hints ?