Set up event receiver to work like FPS camera
-
- Posts: 12
- Joined: Thu Feb 24, 2011 10:52 pm
Set up event receiver to work like FPS camera
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.
just return false from the OnEvent function !!!
while(!asleep) sheep++;
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
-
- Posts: 12
- Joined: Thu Feb 24, 2011 10:52 pm
ehm, what is unclear about "return false from the OnEvent function" ???
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
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:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
-
- Posts: 12
- Joined: Thu Feb 24, 2011 10:52 pm