Unity keyframe tangent. You have to set the tangent to float.
- Unity keyframe tangent. The incoming tangent affects the slope of the curve from the previous key to this key. Sets the incoming weight for this key. See Also: outTangent. You have to set the tangent to float. com/support/documentation/ScriptReference/Keyframe-inTangent… Use Unity to build high-quality 3D and 2D games, deploy them across mobile, desktop, VR/AR, consoles or the Web, and connect with loyal and enthusiastic players and customers. How do they work exactly? The documentation is not much help: http://unity3d. Nov 5, 2009 ยท I want to set both tangents of a Keyframe in an AnimationCurve through scripting, just like it is possible to do in the Animation view in Unity. Sets the outgoing tangent for this key. var inTangent : float Description Describes the tangent when approaching this point from the previous point in the curve. PositiveInfinity.