View Ports

Blitz3D Forums/Blitz3D Programming/View Ports

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

Just use HideEntity on all cameras you dont want "on", or you could also use CameraProjMode with a flag of 0.

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