Disable FPS-Cam movement?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
fabuloes
Posts: 4
Joined: Mon Mar 28, 2011 5:13 pm

Disable FPS-Cam movement?

Post by fabuloes »

Hello :)

Is it possible to disable the built-in fps-cam for a while?

fabuloes
CuteAlien
Admin
Posts: 9851
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Disable FPS-Cam movement?

Post by CuteAlien »

Sure. If you only want to disable the input then use ICameraSceneNode::setInputReceiverEnabled.
Alternatively you can also switch to a second camera with ISceneManager::setActiveCamera, that's for example done in example 09 (the meshviewer).
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
fabuloes
Posts: 4
Joined: Mon Mar 28, 2011 5:13 pm

Re: Disable FPS-Cam movement?

Post by fabuloes »

Thanks man :)
Post Reply