The direction of the collision is now correctly computed