Hey folks.
A while ago I suddenly felt the urge to figure out how to do an animatable pivot. As a lot of people I have looked into this before, but only gotten that one rotation to work before the rotated object starts to walk of into space. This time I decided I was going to figure it out.
And I did. Are people using animatable pivots at all? I guess you could just space-switch between to objects to get the same effect, but I really wanted to find a way that didn’t involve the user to press any extra buttons. A fun exercise that made me start learning some matrix math and brush up on my vectors.
[vimeo]57766873[/vimeo]
At first I was hoping to do this all with nodes, but realized that, if possible, was beyond me. So I had to resort to the ol’ scriptJob.
I’m basically doing all the math with nodes, but using the scriptJob for some keyframing and changing nodeState of a decompMatrix node.