MyGUI pointer lag

Ixuss_MyGUI

19-12-2015 12:05:03

Today I enable MyGUI pointer and system pointer at same time in my game.
And I noticed a slight lag of MyGUI pointer from the system pointer during quick mouse movement.
In the game, it feels like a bit sluggish cursor. Can I do something to get rid of this lag?

Ixuss_MyGUI

21-12-2015 21:23:57

Or the way it should be?

Altren

21-12-2015 22:11:48

I guess you are updating UI after frame rendered, so your cursor is one frame below real one.
Or may be you have some other delayed cursor handling.

Ixuss_MyGUI

22-12-2015 10:03:00

I call mInputManager->injectMouseMove() in my GameManager::mouseMoved(). Can I do it else?