As I remember, the event receiver has to return false if nothing was done in it !!!
If you return true (or nothing) Irrlicht will do nothing... ;)
CU, Acki
Yes thnx how could i have forgotten. I was stripping the code to see what the problem was and so i probably also stripped the return code ...
Search found 2 matches
- Sat Jun 26, 2004 1:27 pm
- Forum: Beginners Help
- Topic: Problem controlling FPS camera
- Replies: 2
- Views: 402
- Sat Jun 26, 2004 9:55 am
- Forum: Beginners Help
- Topic: Problem controlling FPS camera
- Replies: 2
- Views: 402
Problem controlling FPS camera
I have been using the tutorials and mix them a bit. Now i've got a problem:
when i add the eventreceiver its impossible to control the camera using the keyboard. Ive been looking at it and cant figure out what exactly is causing the problem.
#include <irrlicht.h>
using namespace irr;
using ...
when i add the eventreceiver its impossible to control the camera using the keyboard. Ive been looking at it and cant figure out what exactly is causing the problem.
#include <irrlicht.h>
using namespace irr;
using ...