View Ports

Blitz3D Forums/Blitz3D Programming/View Ports

nivek(Posted 2004) [#1]
How do I switch between 2 view ports? I'm creating a space flight sim and I want a front camera (facing forward) and a rear camera (facing back). I don't want them both on screen at the same time. I want to be able to switch from front to rear views like in most flight sims.

Thanks


Genexi2(Posted 2004) [#2]
Just use HideEntity on all cameras you dont want "on", or you could also use CameraProjMode with a flag of 0.


Andy(Posted 2004) [#3]
Parent the camera to the ship and move the camera to the new position and attitude relative to the ship when a certain key is pressed.

Andy