I've got an object that needs to rotate at a specific speed (rotations/second). Rather than jumping from stopped to full speed, I would like the rotation to ease into its max speed based on a "TimeToWarmUp" variable.
So I've got 3 variables: CurrentSpeed, MaxSpeed, and TimeToWarmUp. The first two are measured in rotations/second, the last is just in seconds.
Is there a function, or a mathematical formula that anyone knows of that I can use to move CurrentSpeed up to MaxSpeed in TimeToWarmUp seconds, while keeping the speed in rotations/second?
Thanks for the help!