• Advertisement
Sign in to follow this  

Animation Tree in code

This topic is 2202 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Is there any tutorials that anyone knows of about how to go about implementing these in code. Is this really just a huge logic function?

if walking and strafing
- play walk and strafe


currently how i have my animations working is that idle by default. then if a user presses the forward key, i apply the walk animation or run animation based on the pressure of the key press. and if the action button is pressed, i apply an attack animation to the second track of the mesh, and then the two animations are blended together.

i am just looking for advice or guidance and maybe a tutorial or a good read on the subject about how to optimize and make it clean.

thanks much in advance

Share this post


Link to post
Share on other sites
Advertisement
theres many ways to implement this sort of thing. i would suggest downloading some animation packages and looking at their interfaces.

You want to create some sort of blend tree with each leaf node being an animation to play and weighted edges between each node.

Heres some related articles i havent read

http://www.gamasutra.com/view/feature/3456/animation_blending_achieving_.php
http://flohofwoe.blogspot.com/2009/01/animation.html

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement