equivalent to addExternalMeshLoader for cameras?

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
silex
Posts: 6
Joined: Thu Nov 17, 2005 1:39 am

equivalent to addExternalMeshLoader for cameras?

Post by silex »

Hi,

Looking at the API, the SceneManager exposes 3 functions to add cameras to the scene. What I'd like to do is modify the behavior or the the default CameraSceneNode when certain keys are pressed (in this case, to have a camera looking from the side that can move up and down, and zoom in and out), so probably just it's OnEvent function. What's the best way to accomplish something like this? Is there a way to do this with the engine or must it be done externally?

Cheers,
Nick
silex
Posts: 6
Joined: Thu Nov 17, 2005 1:39 am

Post by silex »

sorry for the bump but i'll just rephrase my question:

what's the best way to customize camera behavior without modifying any source?
pfo
Posts: 370
Joined: Mon Aug 29, 2005 10:54 pm
Location: http://web.utk.edu/~pfox1

Post by pfo »

Make a regular ICameraSceneNode and manipulate it yourself each frame and with your event receiver.
Post Reply