need some animation advice

Started by bili, December 13, 2011, 02:23:06 AM

Previous topic - Next topic

bili

Hi, im wondering if you can give me some advice.

Im creating a game that let user to define their own animation from some predefine animations like walking, clapping, jumping (on spot) of an object that will be provided with the game. However, because the game is based on frame animation so if say a player wants to do 2 claps, walk 3 steps ahead and finally a jump then between the last step of the 3 step and the jump there would be a "teleport" animation right?

I haven't written the code to test it but im doing the animation for this and it struck me that this may be happening in the game. If this indeed does happen, what can i do to solve this problem?

Many thanks.

EgonOlsen

Not sure what a "teleport" animation is supposed to be in this context, but if you don't want to have hard transitions between the animations, you have to create some blending animation steps to switch from one to the other.

bili

Ops, I was meant to post this in jpct-ae but it was too early in the morning for me...Could you please move it to jpct-ae?

I meant to say sliding instead of teleport animation. Can you elaborate on "create some blending animations" a little? How am i going to do this?

Let say the situation is that after the object finished the walk of 3 steps and about to "slide" back to the origin because thats is where the next animation action, clapping, about to happen. Can I instead calculate how far it is the object from the original and move the clap animation to that position so that it will avoid the hard transition all together?

Do you think bones would be more suitable for this kind of animation? Because I just want to have a model that can do actions like walk, clap, turn left/right etc then a player can manipulate the model in the same way and if the player puts these actions in a playlist the model will follow and do the animation without any problems.