@override Vector2 transform(Vector2 velocity, double mass, double dt) { return Vector2( lerpDouble(velocity.x, 0, dt * value.x) ?? 0, lerpDouble(velocity.y, 0, dt * value.y) ?? 0, ); }