简介

    When you start the Game Engine, the initial camera view is taken from the latest 3D View.This may be either a selected camera object or the default camera (see below).Thus to start the game with a particular camera,you must select the camera and press Numpad0 before starting the Game Engine.

    Tip

    Avoiding Camera Distortions

    The default camera view is taken from the latest 3D View,at a distance equivalent to the viewer. This means that if the normal 3D View is active,the scene does not change when the Game Engine is started.

    The Camera object in the Game Engine follows much the same structure as the conventional Blender camera — see for details of how to set up, manipulate and select a camera.The following sections show some of the special facilities available in BGE cameras.

    The camera will follow the object. First select the camera and then select the object.Next Ctrl-P‣ Make Parent.

    The easiest way to accomplish this is to select your object and Tab to Edit Mode.Now select the vertex and Tab back to Object Mode.

    Next, without any objects selected, select the camera and, holding Shift,select the object. Tab into Edit Mode, and Ctrl-P and choose Make vertex parent.

    Now the camera will follow the object and it will maintain its rotation, while the object rotates.