Comments and answers for "Rotating a spaceship"
http://answers.unity.com/questions/1301407/rotating-a-spaceship.html
The latest comments and answers for the question "Rotating a spaceship"Answer by Lorenstone
http://answers.unity.com/answers/1301463/view.html
So, on the theory that Euler angles don't play nice with negative numbers (and Slerp did not fix this for me,) I just made sure to translate ea into and out of zero-based rotation space.
var ea = model.transform.localEulerAngles;
if (ea.x >= 180) ea.x -= 360; if (ea.z >= 180) ea.z -= 360;
ea = Vector3.Lerp(ea, new Vector3(pitch, 0, roll), tiltSpeed);
if (ea.x < 0) ea.x += 360; if (ea.z < 0) ea.z += 360;
model.transform.localEulerAngles = ea;
It worked.Thu, 19 Jan 2017 18:26:33 GMTLorenstone