Switching bewteen FPS camera and static camera

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
SuB
Posts: 16
Joined: Fri Aug 27, 2004 9:27 pm

Switching bewteen FPS camera and static camera

Post by SuB »

Hi everyone,

I'm new to irrlicht, (started today) and started building a HUD.

Everything is working out smooth for the moment but there is a problem with camera switching.

I created a function that changes between fps camera and the static camera (where you can move your mouse without altering the view) everytime you press a button.

It works fine but when I switch to fps camera, I can't move.

I did a small search on the forum but nothing really answered my post.

tnx in advance

SuB
Peter Müller
Posts: 292
Joined: Sun Mar 14, 2004 5:28 pm
Location: Germany
Contact:

Post by Peter Müller »

Did you add a key map?
http://www.games-forge.de - Die Community für Nachwuchsprogrammierer
SuB
Posts: 16
Joined: Fri Aug 27, 2004 9:27 pm

Post by SuB »

djees, I feel noobish :oops: :oops:

what is a key map?
xhrit
Posts: 140
Joined: Mon Jun 14, 2004 8:54 am
Location: earth
Contact:

Post by xhrit »

Core2Duo E8400 3.0ghz - 2048mb DDR2 800 - geForce 9600 - Slackware12.1

Word-image-symbol programming limits, controls, and imprisons the individual.
Smash the control images, smash the control machine.
Peter Müller
Posts: 292
Joined: Sun Mar 14, 2004 5:28 pm
Location: Germany
Contact:

Post by Peter Müller »

xhrit wrote:lol
:roll:

Read the example in the documentation under ISceneManager::addCameraSceneNodeFPS()
http://www.games-forge.de - Die Community für Nachwuchsprogrammierer
SuB
Posts: 16
Joined: Fri Aug 27, 2004 9:27 pm

Post by SuB »

Tnx, peter for helping me out :D
Post Reply