The position of the object in the simulation at the given time.
@override double x(double time) => isDone(time) ? _endPosition : super.x(time);