Advertisement Jump to content
Sign in to follow this  
Harryu

Multiple Animation Sets in Milkshape

This topic is 4918 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

im pretty new to 3d modelling and 3d games, and i was wondering how to put multiple different animations into the same .x file, using milkshape i can make single animations well enough, but is there any way to have for example, a "Walk" and an "Attack" animation, both contained in the same file like i said, i am new to 3d stuff, so the answer is probably pretty obvious, but any help whatsoever would be appreciated thanks

Share this post


Link to post
Share on other sites
Advertisement
You put all of the animations one-after-the other. In MilkShape you would make one long animation that has all of the motions. In your graphics API you specify which of those frames to draw at any given time. For example if you animate the character taking a stride frome frame 1-60, have your game loop through frames 1-60. then if he attacks you can go from 60-90 once, if that's where your attack animation is.

Share this post


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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!