Function moveTowardsScalar

  • Returns a number along the line between a and b, moving at a given speed. Will not "overshoot" b.

    Parameters

    • a: number
    • b: number
    • speed: number

    Returns number

Generated using TypeDoc