|
Hi,
I’ve run into something I can’t seem to get to work. What I’ve got is loads of matrix data which I’d like to set on an object and set keyframes. I’ve looked into using FBPlayerControls Key() member, but it only seems to work on node.Translation or node.Rotation. What I’d like to see work is setting the node.Matrix attribute the same way I do the position or rotation. So I’m wondering if this is possible. If not, I’d have to choose another solution obviously. In that case my question is; How do I set keyframes from a matrix?
Any help greatly appreciated!
BR
mrK
|
|
|
|
There is no direct way to key matrix.
Also, remeber that FCurve is local data. Do you have local matrix or know how to compute it? If so, here I showed how to do opposite (conver FCurve to Matrix), you should be able to reverse it:
http://area.autodesk.com/for...ions-without-stepforward/
Cheers!
PS. Maybe there could be a hack to set Matrix and key candidate on model, but this would require evaluation of scene. You may want to try this too if you are working with global data.
|
|
|