Jump to content
  • Advertisement
Sign in to follow this  
mattwood2855

MD5 model movement synching

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

Hi, im making a game that uses md5 format models and need some help with moving the units. I am using quake models to test and i noticed in their 'run' animations, the models move forward (within the animation) - im assuming they do this so for collision testing. My question is how do i update my objects position to match the distance the model has moved to by the end of the animation? what im observing is my object moving towards its target, but at the end of the animation it is a little ahead of my objects actual location. when the animation restarts it jumps back to the objects location. so i have this weird 'jumping back' problem...

Share this post


Link to post
Share on other sites
Advertisement

Hi, im making a game that uses md5 format models and need some help with moving the units. I am using quake models to test and i noticed in their 'run' animations, the models move forward (within the animation) - im assuming they do this so for collision testing. My question is how do i update my objects position to match the distance the model has moved to by the end of the animation? what im observing is my object moving towards its target, but at the end of the animation it is a little ahead of my objects actual location. when the animation restarts it jumps back to the objects location. so i have this weird 'jumping back' problem...




so i wrote a function to return me the position of the base joint and can just use that to calculate where i should be. waste o forum space, sorry guys ;)

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!