FromToRotation - Smoothly!

I’m trying to use transform.rotation = Quaternion.FromToRotation(currentRot, Vector3(270,0,0)); in order to rotate a fighter jet back to it’s normal orientation. This does work, but it snaps back. Is there any way to get this rotation working smoothly, so it eases back to the ‘zero’ posistion once a player releases a key?

You could use Quaternion.RotateTowards() to interpolate to the desired rotation. Eg:

//Get target rotation
  targetRotation = Quaternion.FromToRotation(currentRot, Vector3(270,0,0);


//Rotate towrds target
transform.rotation = Quaternion.RotateTowards(transform.rotation, targetRotation, angularSpeed);