Looking up the starting value is a little trickier when the target property is nested (e.g. “rotation.x”). Here’s code to do it that I derived from the RuntimeAnimation’s _preparePath function. 
Edit: couldn’t resist simplifying it a little more. 
4 Likes