x method

  1. @override
double x (double time)
override

The position of the object in the simulation at the given time.

Implementation

@override
double x(double time) {
  return super.x(time).clamp(_minX, _maxX);
}