Pointer Angle +=360 * turns (target Angle and initial Angle difference)
To speed up, finally slowly accelerating to a specified Angle
How to implement?
CodePudding user response:
By a variable, the variable is smallerCodePudding user response:
Quaternions Lerp, you look for how to useCodePudding user response:
Don't put the problem of the complicatedOne point 2 is actually the pointer Angle, want don't equal? See you need
In front of the angular velocity increase, near the boundary between angular velocity began to decrease
CodePudding user response:
Two problems:
1. The alignment with the axis of rotation
2. Determine the amount per frame rotate
The first point seems to have sure,
Second, rotating speed and Angle, to determine a formula, such as: the Angle is [90180] range, speed is: (180 - deltaAngle) * coefficient, less than 90 degree, coefficient of speed is deltaAngle *,,,