Tiler,
OK, here`s what you do. First load the mesh complete with all animations in the one .b3d file using the command LoadAnimMesh like so, Character=LoadAnimMesh("Character.b3d") Next you have to extract the individual animation sequences, so in your case a walk cycle, run cycle etc... You do this by using the ExtractAnimSeq() command and simply specifying the mesh, Character.b3d in our example and the range of frames. So for walk you might do the following, Walk=ExtractAnimSeq(Character.b3d,1,30). Once you have extracted all of your animations from the file you can simply play them at any time by calling the Animate command with the name of the sequence you want to play. You can also set various parameters such as looping, play once, speed and so on. Here`s the command, Animate Character,1,0.5,Walk,0 where Character is the mesh you want to animate, 1 means looping anim, 0.5 for the animation speed, Walk is the sequence to play, and 0 is the frame transition when changing from one sequence to the next (Have a little play around with this one to see the effect.) Hope this helps,
Let us know how you get on.
Jason.
OK, here`s what you do. First load the mesh complete with all animations in the one .b3d file using the command LoadAnimMesh like so, Character=LoadAnimMesh("Character.b3d") Next you have to extract the individual animation sequences, so in your case a walk cycle, run cycle etc... You do this by using the ExtractAnimSeq() command and simply specifying the mesh, Character.b3d in our example and the range of frames. So for walk you might do the following, Walk=ExtractAnimSeq(Character.b3d,1,30). Once you have extracted all of your animations from the file you can simply play them at any time by calling the Animate command with the name of the sequence you want to play. You can also set various parameters such as looping, play once, speed and so on. Here`s the command, Animate Character,1,0.5,Walk,0 where Character is the mesh you want to animate, 1 means looping anim, 0.5 for the animation speed, Walk is the sequence to play, and 0 is the frame transition when changing from one sequence to the next (Have a little play around with this one to see the effect.) Hope this helps,
Let us know how you get on.
Jason.