Well right now just thinking about doing animations just seems like a giant cliff i need to scale. I've read about some patterns commonly used for animation. Well i am trying to rework an animation system that's already been done without altering too much.
There are 3 types of animations:
Static - basically whole raw animation, every bone is set with the animation.
Overwrite - only some animation data is decoded and overwrites existing frame data.
Additive - contains basically the "change" information that modifies the existing frame data.
As an example, for a 3d character. "Static" would be something like a running animation. Overwrite would be something like a melee (so you can run and hit something at the same time). Additive would be aiming, the rotation of the head and arms to modify depending on where you are aiming.
So now there are some conflict as when a melee animation is happening, then there shouldn't be any aiming, otherwise it would distort the melee animation.
I know i've read about state machines but i can't wrap my head around some ideas. If someone maybe knows of a demo program, that has a character animation with several animations and different states of the character going from and into? A lot of the examples I see are relatively simple and i find they don't really demonstrate enough to get a good idea.
Thanks for any help.