Added a method that calculates the direction of the force caused by a collision