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
Custom camera node
-
- Competition winner
- Posts: 688
- Joined: Mon Sep 10, 2012 8:51 am
Re: Custom camera node
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.
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.