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.
Guest
Post
by Guest » Thu Oct 28, 2004 11:12 am
etal2009
Posts: 16 Joined: Wed Mar 10, 2010 2:26 pm
Post
by etal2009 » Wed Mar 10, 2010 2:29 pm
Bump. I would likewise like to learn how to do this; if not with CameraSceneNodeFPS, then maybe with the CSceneNodeCamera.
slavik262
Posts: 753 Joined: Sun Nov 22, 2009 9:25 pm
Location: Wisconsin, USA
Post
by slavik262 » Wed Mar 10, 2010 3:14 pm
I'd try getting the animator of the camera using getAnimators(), reinterpret casting the first animator pointer to a ISceneNodeAnimatorCameraFPS pointer, and calling setMoveSpeed().
Memorial76
Posts: 103 Joined: Mon Aug 10, 2009 8:22 pm
Location: France
Post
by Memorial76 » Wed Mar 10, 2010 4:28 pm
Really interesting but quite tricky...
hybrid
Admin
Posts: 14143 Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:
Post
by hybrid » Wed Mar 10, 2010 5:57 pm
You can get the animator directly after creating the camera. There's only one such animator then, so no need to iterate over all of them.