Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

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.

share|improve this question
    
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). –  r2d2rigo Aug 1 '12 at 22:22
    
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? –  Robert Gawdzik Aug 1 '12 at 22:24
    
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? –  Marton Aug 2 '12 at 6:26
    
@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 –  Robert Gawdzik Aug 2 '12 at 15:25
    
Well, then whose source code was it? –  Marton Aug 2 '12 at 18:03

1 Answer 1

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/

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.