How can I add a normal camera (not FPS camera), so I can set it's position manualy, no fancy key maps and no fancy jump functions?But I can control the camera's angle of view with the mouse (mouse look)...Is there this kind of camera?And how can I create it
I've tryed with addCameraSceneNode but it hasn't mouse look.And I can draw the childs of the camera.Sorry for my bad english...
Stupid FPS camera - isn't there a normal one?
-
- Posts: 27
- Joined: Wed Dec 12, 2007 7:05 pm
-
- Posts: 27
- Joined: Wed Dec 12, 2007 7:05 pm
1.5 is planned to have a camera controller which will solve most of the horrible camera issues but that's a whole other (search) story..Ivo Georgiev wrote:[offtopic]
so bad camera functions...hope Irrlicht 1.5 has better...
Isnt there a way to prevent FPS camera from moving with the arrows?????
There are alot of bad things in the high-level programming
you can simply set the keys to 0 in the keymap:Ivo Georgiev wrote:Isnt there a way to prevent FPS camera from moving with the arrows?????
Code: Select all
SKeyMap keyMap[4];
keyMap[0].Action = EKA_MOVE_FORWARD;
keyMap[0].KeyCode = (irr::EKEY_CODE)0;
keyMap[1].Action = EKA_MOVE_BACKWARD;
keyMap[1].KeyCode = (irr::EKEY_CODE)0;
keyMap[2].Action = EKA_STRAFE_LEFT;
keyMap[2].KeyCode = (irr::EKEY_CODE)0;
keyMap[3].Action = EKA_STRAFE_RIGHT;
keyMap[3].KeyCode = (irr::EKEY_CODE)0;
smgr->addCameraSceneNodeFPS(0, 100, 500, -1, keyMap, 4);
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