Parameter | Description |
---|---|
rotation | The rotation used as a calculation to rotate to. |
deltaTime | The delta time over which the rotation would take place. |
float The angular velocity required to rotate to the specified rotation.
Calculate the angular velocity necessary to rotate the current rotation and the specified rotation over a give time.
Parameter | Description |
---|---|
rotationA | The rotation to rotate from. |
rotationB | The rotation to rotate to. |
deltaTime | The delta time over which the rotation would take place. |
float The angular velocity required to rotate between the specified rotations.
Calculate the angular velocity necessary to rotate between two rotations over a give time.