0
\$\begingroup\$

Because this is kind of weird to explain, let's show you what I mean. This is in my game. When I import this base ship model, it should be at (1000,1000,1000), but the model acts like it's at (1000,1000, 0). Note it is positioned correctly when I use a .x model. So it has to be the model. I need to know what's wrong with it.

Here is the model file, tell me if anything is wrong with it: https://dl.dropbox.com/u/92848165/station2.FBX

http://i.imgur.com/VsjH8.jpg

EDIT: The model works if you import it into Google Sketchup...but you lose the textures, not very nice.

\$\endgroup\$
5
  • \$\begingroup\$ Is the model centered to the origin inside your modelling program? Are you applying the correct transforms to all of its bones before drawing it? (And did you post this to /r/gamedev? I think I saw a simillar screen before). \$\endgroup\$
    – r2d2rigo
    Aug 1 '12 at 22:22
  • \$\begingroup\$ I have no idea, it looks so in the fbx file. Take a look yourself. I never posted anything related on r/gamedev, do you think they know? \$\endgroup\$
    – user18616
    Aug 1 '12 at 22:24
  • \$\begingroup\$ If Google draws it properly, then there's something wrong in your source code. Are you using the default Content Pipeline to load the model? \$\endgroup\$
    – Marton
    Aug 2 '12 at 6:26
  • \$\begingroup\$ @Marton Yes, obviously. I figured out that it was the transformations that effected the models. If you move them to the center, it actually doesn't matter, cause even if it looks at 0,0,0 it will be drawn at how much you moved it. You need to Freeze Transformations and Delete Object History. So it obviously wasn't my source code like you said :P \$\endgroup\$
    – user18616
    Aug 2 '12 at 15:25
  • \$\begingroup\$ Well, then whose source code was it? \$\endgroup\$
    – Marton
    Aug 2 '12 at 18:03
1
\$\begingroup\$

I realize that this is really really late....

The only solution to this that crosses the mind is that the model isn't centered in the origin....

Try making the model in a different software (importing / exporting again).... Use blender as it is free and is pretty easy to use:

http://www.blender.org/

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy