Home > other >  U3D rotation problem
U3D rotation problem

Time:09-25


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 smaller

CodePudding user response:

Quaternions Lerp, you look for how to use

CodePudding user response:

Don't put the problem of the complicated
One 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 *,,,
  • Related