I'm trying to use the class MastEventReceiver (http://irrlicht.sourceforge.net/phpBB2/ ... nst+wchart)
with my FPS camera, its works well, but when i passes the event handler to the creation device, the W/A/S/D/SPACE keys not working.
What can i do? my code:
== Creation: ==
Code: Select all
irr::SIrrlichtCreationParameters param;
param.Bits = 16;
param.AntiAlias = false;
param.Fullscreen = true;
param.Stencilbuffer = false;
param.Vsync = true;
param.EventReceiver = &eventReceiver;
Code: Select all
scene::ICameraSceneNode* camera = smgr->addCameraSceneNodeFPS(0, 100.0f, 300.0f, -1, keyMap, 10, true, 0.5f);