mouse

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Cleves
Posts: 224
Joined: Mon Sep 08, 2003 6:40 pm

mouse

Post by Cleves »

Hey all,

I have a problem.In the middle of the game the user press X key and GUI appears and also the mouse appears but the mouse is kinda stuck in the middle of the screen and it blurs the graphics if you try to move it.
I think it's because of the FPS camera but i don't know how to fix it. :shock:

Thanks
Arudil
Posts: 27
Joined: Sun Sep 28, 2003 7:59 am
Location: Germany
Contact:

Post by Arudil »

Code: Select all

GUIcamera = smgr->addCameraSceneNode(0, core::vector3df(camera->getPosition()));
GUIcamera->setRotation(camera->getRotation()); //buggy
smgr->setActiveCamera(GUIcamera);
i didn't programmed with irrlicht fpr some weeks, but i hope that it's right ;)
Arudil
Posts: 27
Joined: Sun Sep 28, 2003 7:59 am
Location: Germany
Contact:

Post by Arudil »

i just looked at the 0.4.1 and found that:

camera->setInputReceiverEnabled(false);

perhaps that's usefull
Post Reply