Animation Tree in code,
Members - Reputation: 734
Posted 13 January 2012 - 08:16 AM
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
Members - Reputation: 198
Posted 14 January 2012 - 03:59 AM
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