Spheric camera mode

New! In this mode the camera is constrained to the extent of a sphere centered in the target (Zelda-style).

Attached camera mode

In this mode the camera node is attached to the target node as a child. Please note that transformations applied to the camera target (scales, rotations and translations) will also affect to the camera node. Use Orbital mode if you do not want this behavior. You should use this mode instead of Orbital mode when possible (Orbital mode is less efficient than this one).

Chase camera mode

In this mode the camera follows the target. The second parameter is the relative position to the target. The orientation of the camera is fixed by a yaw axis (UNIT_Y by default).

Chase free yaw axis camera mode

This mode is similar to "Chase" camera mode but the camera orientation is not fixed by a yaw axis. The camera orientation will be the same as the target.

Close to target camera mode

In this camera mode the position of the camera is chosen to be the closest to the target of a given list. The camera orientation is fixed by a yaw axis.

First person camera mode

This is basically an attached camera mode with the posibility of hide or show the focus of the scene.

Fixed direction camera mode

In this mode the camera is controlled by the user. In this mode the target is always seen from the same point of view.

Fixed position camera mode

In this mode the camera position and orientation never change.

Fixed tracking camera mode

In this mode the camera position is fixed and the camera always points to the target.

Free camera mode

In this mode the camera is controlled by the user. The camera orientation is fixed by a yaw axis.

Updated! This camera mode now came with two optional collisions detection modes: aboveGround and constantHeight. The former maintains the camera always above the ground. The latter maintains the camera at a constant height above the ground.

Orbital camera mode

This is basically an attached camera mode where the user can mofify the camera position. If the scene focus is seen as the center of a sphere, the camera rotates arount it.

Orbital camera mode (collidable)

Orbital camera mode with collisions enabled. All camera modes which derive from chaseCameraMode support collisions.

Plane camera mode

In this mode the camera is constrained to the limits of a plane. The camera always points to the target, perpendicularly to the plane.

Through camera mode

In this mode the camera points to a given position (the "focus") throuh the target. The camera orientation is fixed by a yaw axis.

Real Time Strategy (RTS) camera mode

In this mode the camera is constrained to the limits of a plane. This is the typical camera you can found in any Real Time Strategy game.