• Create Account

Posted 26 May 2013 - 05:29 PM

Ok , Andy do you face problem like this :

you have 10 models using the same effect , if you use XNA or Directx (the same applied ) I got this error :

Code used to make 10 copies of ModelManagerSupprt which will contain the model and the effect and will holds chrachter controller (BEPU Phsics Engine) :


foreach (ModelManagerSupport dwarfModel in dwarfModels)
{
//dwarfModel.setEffect(camera , game);
//dwarfModel.setModelAnimationStatus(game);
//dwarfModel.intializeChrachterController(new Vector3(0, 0, 0), 20, 10, 2000, 2000, 80, 40);

}