Jump to content
  • Advertisement
Sign in to follow this  

Exported FBX Doubled Translations

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

Based on popular feedback I'm trying to animate the 100+ guns on the large ship model in my game. Conveniently, they're separate submeshes in the model I got from turbosquid, however the submeshes have no translation component and the submesh vertices appear to be offset from the model origin rather than the submesh origin. So any rotations I apply to the turrets are around the larger mesh center, rather than their local origin.


To work around this I tried the set origin command to set the origin for all the submeshes to be centered around their geometry. While this now allows me to rotate each turret submesh about its local origin, it doesn't have the desired effect because the translation transform appears to be applied twice. The guns for some reason appear to be double the distance from the larger mesh origin than they used to be and look like they're floating in space like asteroids rather than attached to the ship. They rotate around their local origin at this incorrect position in space.


I'm doing this work in blender, exporting to FBX for XNA. I've tried some different settings on the exporter, doesn't seem to make a difference, but maybe I just haven't found the right setting. In blender the turrets appear to be positioned in the correct place, but not once I export them. Any clue what might cause this?

Edited by jsuffolk

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!