Hi,
I'm new with Irrlicht and make my first steps with it...
Now, is it possible to change the default keys for the FPS-camera mode (from arrow keys to maybe "w", "s", "a" and "d" ???
Well, I know I can write a function on my own, but if I don't need it...
CU
Key binding
-
- Posts: 92
- Joined: Sat Nov 29, 2003 8:30 pm
- Contact:
With Irrlicht 0.4.1 you can.
Stright from the docs:
Stright from the docs:
Code: Select all
virtual ICameraSceneNode* irr::scene::ISceneManager::addCameraSceneNodeFPS ( ISceneNode * parent = 0,
f32 rotateSpeed = 100.0f,
f32 moveSpeed = 500.0f,
s32 id = -1,
SKeyMap * keyMapArray = 0,
s32 keyMapSize = 0
) [pure virtual]