Hello,
I'd like to disable the arrow of the mouse : I don't want moving the view of my camera with the mouse.
How to do this ?
Thx
Sam.
Disabling the mouse
-
- Posts: 7
- Joined: Tue Sep 16, 2003 8:11 pm
Don't use addCameraSceneFPS.
FPS stands for First Person Shooter and is coded to move the camera with the mouse.
Instead, use
Also, you'll want to make the cursor visible unless you want to make your own image.
FPS stands for First Person Shooter and is coded to move the camera with the mouse.
Instead, use
Code: Select all
virtual ICameraSceneNode * addCameraSceneNodeFPS (ISceneNode *parent=0, f32 rotateSpeed=100.0f, f32 moveSpeed=500.0f, s32 id=-1)=0
Code: Select all
device->getCursorControl()->setVisible(true);
Crud, how do I do this again?
I think i must use this function :
I got a problem to move the camera correctly with get and set Position
a clue ?
Sam
Code: Select all
virtual ICameraSceneNode* irr::scene::ISceneManager::addCameraSceneNode ( ISceneNode * parent = 0,
const core::vector3df & position = core::vector3df(0, 0, 0),
const core::vector3df & lookat = core::vector3df(0, 0, 100),
s32 id = -1
) [pure virtual]
a clue ?
Sam