my game turn slow

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
r3d
Posts: 6
Joined: Mon Mar 28, 2005 1:28 pm

my game turn slow

Post by r3d »

I need help, (my inglish is poor):

I do a model md2 and load in my world 8 times ,
before this my game run at 59 fps after 15 fps

I create one metatriangleselector for each mesh


how to do?


Thank

In spanish:

Yo hice un modelo md2 y lo cargue en mi mundo 8 veces,
antes de eso mi juego corría a 59 fps después a 15 fps

I creé un metatriangleselector para cada mesh

¿como hago para que ande bién?


gracias

R3D
:?
cartoonit
Posts: 286
Joined: Mon Nov 15, 2004 6:36 pm

Post by cartoonit »

Don't create 5 meta trianlge selectors for all the meshes, just normal triangle selectors then add them to the meta triangle selector, that is created.
From the API:
Interface for making multiple triangle selectors work as one big selector.
Also this might be due to Irrlicht's collision detection being rather slow, but i've never tried it with more than 3 meshes before.
r3d
Posts: 6
Joined: Mon Mar 28, 2005 1:28 pm

Post by r3d »

but with a metatriangleselector I can do that the models collide with the map, and between them
Post Reply