addCameraSceneNodeFPS code

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
Swinto

addCameraSceneNodeFPS code

Post by Swinto »

Okej, so nobody can tell me how to make a node look at the mouse. But can somebody please tell me where i find the code for addCameraSceneNodeFPS. And it is not the "virtual ICameraSceneNode* addCameraSceneNodeFPS" in "ISceneManager.h" I mean. I mean the real code. The code witch take all the parameters in addCameraSceneNodeFPS() and does something with them. Where do I find that?
Guest

Post by Guest »

check the examples on the irrlicht website, some of them implement a FPS camera
HazardEffect
Posts: 9
Joined: Fri Feb 03, 2006 2:06 pm
Location: Wales

Post by HazardEffect »

And have a look at CCameraFPSSceneNode.cpp and CCameraFPSSceneNode.h. You can't create an instance of this class directly, so you have to use the addCameraSceneNodeFPS factory function. But it's easy enough to use the source code directly into your own project.
Post Reply