Custom camera node

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
sabotage3d
Posts: 13
Joined: Sat Aug 16, 2014 3:40 pm

Custom camera node

Post 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
chronologicaldot
Competition winner
Posts: 685
Joined: Mon Sep 10, 2012 8:51 am

Re: Custom camera node

Post 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.
Post Reply