im using a boolean variable to control whether or not to process input, movement, ai, etc. depending on if the game is paused or not
the problem is that whenever the game is paused, everything freezes (like is supposed to) except for my orbital drone guns because they use a FlyCircle animator
which function in irrlicht controls the update of animators?
problems pausing game
thanks anyway but i figured out a solution
instead of having the scene node control the animators, i have my CEnemy class control its animators. then, during the CEnemy.Update() call, the object calls animateNode() on each of its animators, passing the scene node as a pointer
the Update() method only gets called when the game is unpaused so it works! and if i recreated the flycircle animator every time the game was unpaused, the nodes would revert to their original position
instead of having the scene node control the animators, i have my CEnemy class control its animators. then, during the CEnemy.Update() call, the object calls animateNode() on each of its animators, passing the scene node as a pointer
the Update() method only gets called when the game is unpaused so it works! and if i recreated the flycircle animator every time the game was unpaused, the nodes would revert to their original position