CurveAngle
This function returns an value interpolated between a current and target angle.
Syntax
- number CurveAngle(number target,number current,number divisions)
Parameters
- target: the value being moved towards, in degrees.
- current: the current value, in degrees.
- divisions: the number to divide the difference by.
Returns
Returns an interpolated value.