Jump to content

  • Log In with Google      Sign In   
  • Create Account


Animation Tree in code


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 NiteLordz   Members   -  Reputation: 369

Like
0Likes
Like

Posted 13 January 2012 - 08:16 AM

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
Code makes the man

Sponsor:

#2 DjMaSh   Members   -  Reputation: 198

Like
0Likes
Like

Posted 14 January 2012 - 03:59 AM

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




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS