Page 1 of 1

Custom camera node

Posted: Sun Aug 24, 2014 9:23 pm
by sabotage3d
Hello ,

What would be the best way to implement custom camera node in Irrlicht ?
I am looking into creating something similar to the addCameraSceneNodeFPS ,but with different functionality for mobile.
Is there a simple example on how to create new camera ?


Thanks in advance,

Alex

Re: Custom camera node

Posted: Tue Sep 02, 2014 8:22 pm
by chronologicaldot
Look at the code for the Maya and FPS camera scene node animators. The idea is: use an animator to move the camera rather than try to reimplement the camera scene node from the abstract class. Animators make it easier for you to separate camera movement code from everything else.

There are also some cameras for RTS and such in the Code Snippets section. Just go to the section and type "RTS camera" in the search-forum box.