Answers for "How to interprete Keyframe.inTangent and .outTangent values"
http://answers.unity.com/questions/451030/how-to-interprete-keyframeintangent-and-outtangent.html
The latest answers for the question "How to interprete Keyframe.inTangent and .outTangent values"Answer by mikaelemtinger
http://answers.unity.com/answers/451213/view.html
I found the solution, you need to scale the inTangent and outTangent with the delta time between the two keys. So, if you like to interpolate the value this is how (for H1 H2 H3 H4, see link in question):
deltaTime = keys[ 1 ].time - keys[ 0 ].time;
interpolatedValue = H1 * keys[ 0 ].value + H2 * keys[ 1 ].value + H3 * keys[ 0 ].outTangent * deltaTime + H4 * keys[ 1 ].inTangent * deltaTime;Mon, 06 May 2013 18:46:36 GMTmikaelemtingerAnswer by Bunny83
http://answers.unity.com/answers/451082/view.html
No, they use cubic bezier curves for each segment ;) The in and out tangent is the [tangent][1] of the desired angle and **not** an angle in degree or radians like the [documentation suggests][2].
See [this question][3] for more details ;)
[1]: http://en.wikipedia.org/wiki/Trigonometric_functions#Sine.2C_cosine_and_tangent
[2]: http://docs.unity3d.com/Documentation/ScriptReference/Keyframe-inTangent.html
[3]: http://answers.unity3d.com/questions/438407/the-algorithm-of-curve-in-shuriken-particle-system.htmlMon, 06 May 2013 14:34:16 GMTBunny83