Free mouse witch camera FPS()

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
Gianni
Posts: 48
Joined: Sat Mar 22, 2008 9:24 am

Free mouse witch camera FPS()

Post by Gianni »

Sorry a question, how can release the mouse, taking a camera FPS ()?
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

take a short look at the API for ICameraSceneNode and you'll find setInputReceiverEnabled(bool enabled) !!! :roll:
and a search on the forum will help you with mouse visibility problems, you probably will get... :lol:
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
Gianni
Posts: 48
Joined: Sat Mar 22, 2008 9:24 am

Post by Gianni »

I don't comprend the messagge than Acki
Last edited by Gianni on Tue Apr 15, 2008 5:27 pm, edited 1 time in total.
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

Sticking to one language is sensible :P
Image Image Image
Gianni
Posts: 48
Joined: Sat Mar 22, 2008 9:24 am

Post by Gianni »

But is alanguage sensible :D :D
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

Who's Alan Guage? He sounds cool :twisted:

Yes, languages are sensible, they help us communicate :P
Image Image Image
radiant
Posts: 112
Joined: Fri Feb 22, 2008 8:04 pm
Location: Mexico

Post by radiant »

LMAO....

Well.... i dun know if gianni actually didnt understood... or hes just messing with us... anyway heres the answer....

If u are asking how to hide the mouse when u use a fps camera this is how:

Code: Select all

device->getCursorControl()->setVisible(false);
If you are asking how to avoid your camera from moving when you dont want to.... like when ure using your game's GUI u use:

Code: Select all

camera->setInputReceiverEnabled(false);
And what he meant by searching the api is that what i just told you is in the api documentation under:

\[your irrlicht folder]\Doc\irrlicht

Now if u need a translation to any other languaje... i could help with spanish and japanesse :lol:

hope this helps...
Post Reply