|
CurveAngle | |
Result = CurveAngle(DestAngle#, CurAngle#, Speed#) | |
Parameters: DestAngle# =The destination angle CurAngle# =The current angle Speed# =The speed |
|
Returns: Result |
|
CurveAngle will return an auto-interpolated angle based on a given speed. This function will gradually move an angle from its current value to a destination value at a given speed. The result will be wrapped to within 360 degrees. Mini Tutorial: Here's a simple example showing one usage of the CurveAngle function.
|
Related Info: | CurveValue | GetAngle2D | WrapAngle : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |