Change active Camera?

Oct 22, 2009 at 11:05 PM

Hi There,

I'm new to Ox and started to play around with it just recently. 

And already my first Question: How do I change the current render-Camera? 
I tried to do it this way:

 

engine.Camera = new FovCamera(engine);

 but since the Camera property of the engine is not changable this doesn't work.

My next suggestion was that a new Camera gets automatically activated, since the refernce to the engine is passed in the FovCamera's constructor. But this doesn't seem to be the case.

I'm pretty stuck right now - an "obvios" method like "engine.changeCamera(..)" is also missing... 

How do I change the Camera then?