Hi guys, a problem I encounterd is very werid.
In the very begining of the game, I wish that the mouse cursor would appear which be located in center of screen.
But actually its location is not what I wished…
Here my codes… very simple codes… but it seems to does not work accurately…
it looks like the window position information is not yet updated in BeginPlay(). Therefore, the cursor position is set relative to the window position (0, 0).
I resolved this by creating a timer that after Wait calls the OnTimer_Cursor().