Hey guys, I’m a long time lurker, and I’ve come across a problem that I can’t seem to google my way out of.
I’m trying to create a button to set a tangent to the maximum angle it can be without the value of the curve exceeding the value of the next keyframe.
Default spline in, flat out:
http://i.imgur.com/eofHeYf.png
What I’d like to achieve:
http://i.imgur.com/f6HG8WU.png
Without the value of the curve exceeding the value of the next keyframe:
http://i.imgur.com/4yNZlhn.png
Assuming the next tangent is flat and I have unweighted curves, is there an equation I can use to calculate the maximum angle of the tangent on the first keyframe?