|
Heya, we are a group that are creating a game using box2D, duh. We have encountered a little (big) problem.
Out avatar can shoot a string out from its arm, with a set distance, just like a rope. When we start the game everything runs at normal speed. But as fast as we shoot out our rope (60 bodies, every body is like 0.5f, 1.0f sized.) the framerate just drops. The chain that hangs from the ceeling starts to sway way slower and everything else that is in the game starts to act slowly. We are currently studying game programming at the university and we asked our teacher about it. He said that we shouldn't have to alter the timeStep and iterations. Should do that automatically. But something is wrong.
Anyone have any idea what it can be?
Cheers.
|