I have a weird problem/bug.
My Mouse slides down, whenever I move it, its just wrong to me and seems like an Irrlicht Issue.
To prove that I am not stupid, please try it out yourself with this FPS Camera or copy Tutorialcode.
Code: Select all
scene::ICameraSceneNode* camera = smgr->addCameraSceneNodeFPS(0, 110, 0.3, -1, keyMap, 4, 1, 0.5);
Code: Select all
driver->beginScene(true, true, SColor(255, 100, 101, 140));
smgr->drawAll();
//Draw crosshair
driver->draw2DRectangle(SColor(255, 33, 0, 127), rect<s32>(1920 / 2 - 2, 1080 / 2 - 2, 1920 / 2 + 4, 1080 / 2 + 4)); //above
guienv->drawAll();
driver->endScene();
Move the crosshair up and down fast. Actually you shouldnt have to move your mouse up all the time to not face the floor, should you?
So please help me with this Bug, I never encountered it in Ogre3D or other Games like Counterstrike.