I am working on a project where I interface motion sensors to a rig over ethernet. I can easily make the character move but I cant seem to store the movement as an animation.
I have heard some discuss how to mimic the animation clip file format, but I have not yet figured out to do that.
Any hints on how I might be able to create an animationclip runtime?
Basically animation clips are a collection of animation curves and animation curves are a collection of keys and values. So you would create any necessary animation curves (as appropriate to what you want to animate) then add them to the AnimationClip and then play the clip.