Camera switching

Blitz3D Forums/Blitz3D Programming/Camera switching

Hi, how do you switch the between 2 to more camera's juring a project, like have one camera for the player, one for fmv's and another for specials effects?

You just hide the cameras you aren't using, leaving only one unhidden. Blitz will render the view from that one.

Or if you're like me and attach a cake load of stuff to the camera then create a bunch of pivots of where you want your cameras and then place the camera at the entityx,y,z,pitch,roll,yaw of the pivot you want the camera to be at.

Thanks Big&, works well. and also thanks Rob, that will help me to with my next project if i finnish this one.

According to the help docs, instead of using HideEntity, it's faster to use CameraProjMode cam,0 ...not that I know what is faster about that method.