I am currently having issues with my model rendering sequence and am obviously doing something wrong. It is easier to show than explain.
[source]public override void Update(GameTime gameTime)
{
for (int i = 0; i < models.Count; ++i )
{
models.Update();
}
base.Update(gameTime);
}
public override void Draw(GameTime gameTime)
{
foreach (BasicModel model in models)
{
model.Draw(((ForgottenGame)Game).camera);
}
base.Draw(gameTime);
}[/source]
That is the code that I use to update and draw each of the models in a list.
Im sure there is some math I am missing but not sure how to describe my issue.
I am hoping someone can point me in the right direction
Thanks
Oli