Which of the following best defines distance in physics?
A) The rate at which an object changes its position
B) The total path length traveled by an object, regardless of direction
C) The change in position of an object in a specific direction
D) The amount of force applied to an object