how to modify camera behaviour
Posted: Wed Feb 04, 2009 4:53 pm
Hello
i will try to make a strategy game with IrrLicth. I already got the model done (i always follow the MVC - Model View Controler - pattern), and the controler will need fiew changes. Neither the audio part won't change very much i guess.
The main work is on the view part: the 3d scene in my case.
I compiled the tutorial 12 (terrain rendering), and it's perfect for what i need. But there's something i don't understand: how to modify the behaviour of the camera.
I undestood that the first step is to intercept the event with an EventReceiver, and return true on OnEvent to avoid others treatments on the event. But i don't understand how to move the camera The interface ICameraSceneNode don't have member functions such as Rotate() or Move().
i will try to make a strategy game with IrrLicth. I already got the model done (i always follow the MVC - Model View Controler - pattern), and the controler will need fiew changes. Neither the audio part won't change very much i guess.
The main work is on the view part: the 3d scene in my case.
I compiled the tutorial 12 (terrain rendering), and it's perfect for what i need. But there's something i don't understand: how to modify the behaviour of the camera.
I undestood that the first step is to intercept the event with an EventReceiver, and return true on OnEvent to avoid others treatments on the event. But i don't understand how to move the camera The interface ICameraSceneNode don't have member functions such as Rotate() or Move().