Set up event receiver to work like FPS camera

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
weloveyouclark22
Posts: 12
Joined: Thu Feb 24, 2011 10:52 pm

Set up event receiver to work like FPS camera

Post by weloveyouclark22 »

After I got a working event receiver working, I noticed that when I add the parameter to my createDevice function, mouse and key input is lost. Seeing that this is sensible, I want to allow the event receiver to work like an FPS camera. But even after looking through the documentation and other threads, I am unable to determine how to do so. Any assistance of how to rotate the camera and move it respective to which way you are facing would be appreciated.
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

just return false from the OnEvent function !!! :roll:
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
weloveyouclark22
Posts: 12
Joined: Thu Feb 24, 2011 10:52 pm

Post by weloveyouclark22 »

I beg your pardon, but may you please delineate further?
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

ehm, what is unclear about "return false from the OnEvent function" ??? :shock:

this is a common beginner error (didn't want to say noob error tho ;) ) and asked and answered many times in the forum !!!

for example read this thread
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
weloveyouclark22
Posts: 12
Joined: Thu Feb 24, 2011 10:52 pm

Post by weloveyouclark22 »

I see now, I apologise. Thank you for your time.
Post Reply