Let's put this example of the engine loop:
Code: Select all
while(device->run()){
driver->beginScene(...);
<<drawing stuff>>
driver->endScene();
if(someCondition)
node->setRotation();
}
It happens with setPosition too: The new position isn't taken into account (at least, when drawing the node) until the second loop is executed. Even when using animators there's that problem (the animation starts and ends 1 loop late). This ¿bug? is better noticed in a slow computer, since fps are much lower.
Does anyone know anything about that?
Thanks a lot!