Suppose I have a ball with a certain coefficient of restitution. The wall can be considered indeformable and with infinite mass. Everything's in 3 dimensions, and the ball can hit the wall at any angle.
The ball has a certain velocity at the time of contact, and we need to calculate the new velocity after the impact.
So far, I use simple linear algebra to get a reflected vector using the normal with the wall - scaling it by the restitution coefficient. This gives me a velocity "deflected" away from the wall with a smaller magnitude than before the impact.
However I can't figure out how to calculate a Force vector instead of a new velocity.
How do you get the force impressed by the wall upon the collision? Most formulas need a Dt
parameter, the time the impact lasted: I don't know that, it should be obtainable with the ball characteristics.