On 03/04/2014 at 15:08, xxxxxxxx wrote:
I am trying to map the current frame to the x value of a spline, how would I get the y value? I know how to get the value if it is a knot but what if it's not a knot, It'd be similar to an animation curve in the animation timeline.
If this is confusing I can give some clarification.
On 04/04/2014 at 02:18, xxxxxxxx wrote:
Work out the frame as a fraction of the document length (e.g. in a 90 frame scene, frame 9 = 9/90 = 0.1).
Plug that into the SplineData::GetPoint function. It returns a vector; the value you want is the y component of that vector.
On 04/04/2014 at 12:45, xxxxxxxx wrote:
Awesome, That totally Worked! Thank you!