Asynchronous animations slow down game.

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
gloin92
Posts: 11
Joined: Fri Jan 24, 2014 5:06 pm

Asynchronous animations slow down game.

Post by gloin92 »

Hey guys,

it took me a long while to figure out what my problem was but I finally realised that asynchronous animations seem to slow down the game a lot. I'm writing an RTS with a lot of units using the ninja model atm and as soon as my units animate asynchronously the performance breaks down from 100 fps to 30 fps. As it seems one guy here (http://irrlicht.sourceforge.net/forum/v ... ce#p271241) had the same problem.

I read a few threads but still don't know exactly what to do. Can someone help me out? I use IAnimatedMeshSceneNodes for every unit atm but I read that I shouldn't do that for large numbers.
CuteAlien
Admin
Posts: 9716
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Asynchronous animations slow down game.

Post by CuteAlien »

Yeah, octodad programmers also mentioned that. And they used some patches for it: http://irrlicht.sourceforge.net/forum/v ... =2&t=50698

I haven't run into the situation yet myself, so I can't comment on it so far.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Post Reply