I am trying to write a sim in which two circles will collide and then bounce apart in an elastic collision. Each circle has a position, velocity, mass, and radius. I already have the collision detection worked out, but I do not know how to ensure that the resulting velocities are realistic.
I know that the forces acting on each would be the same, and have already worked out the angle of the resulting forces, but I need to find the magnitude of the forces. Given the speed and velocity, how would one solve for the speed
I am using forces because it fits in well to the rest of the program, if there is an easier way please let me know.