the speed of an object in a certain direction