public static void AccelerateTowards(this Rigidbody2D rigidbody, float targetAcceleration, float speed, Axis axis = Axis.XY)
 {
     rigidbody.AccelerateTowards(new Vector2(targetAcceleration, targetAcceleration), speed, InterpolationModes.Quadratic, axis);
 }
 public static void AccelerateTowards(this Rigidbody rigidbody, float targetAcceleration, float speed, InterpolationModes interpolation, Axes axes = Axes.XYZ)
 {
     rigidbody.AccelerateTowards(new Vector3(targetAcceleration, targetAcceleration, targetAcceleration), speed, interpolation, axes);
 }
 public static void AccelerateTowards(this Rigidbody2D rigidbody, float targetSpeed, float acceleration, float deltaTime, InterpolationModes interpolation = InterpolationModes.Quadratic, Axes axes = Axes.XY)
 {
     rigidbody.AccelerateTowards(new Vector2(targetSpeed, targetSpeed), acceleration, deltaTime, interpolation, axes);
 }
 public static void AccelerateTowards(this Rigidbody rigidbody, Vector3 targetAcceleration, float speed, Axes axes = Axes.XYZ)
 {
     rigidbody.AccelerateTowards(targetAcceleration, speed, InterpolationModes.Quadratic, axes);
 }
 public static void AccelerateTowards(this Rigidbody rigidbody, float targetSpeed, float deltaTime, Axes axes = Axes.XYZ)
 {
     rigidbody.AccelerateTowards(new Vector3(targetSpeed, targetSpeed, targetSpeed), deltaTime, axes);
 }