There are a wide range of cameras to use with Babylon.js, Probably the two most used are the universal and arcRotate cameras and increasingly virtual reality ones.

  • Universal Camera - the one to choose for first person shooter type games, and works with all the keyboard, mouse, touch and gamepads. With this camera you can check for collisions and apply gravity.

  • Arc Rotate Camera - which acts like a satellite in orbit around a target and always points towards the target position.

  • Follow Camera - this takes a mesh as a target and follows it as it moves. Both a free camera version followCamera and an arc rotate version arcFollowCamera are available.

  • Anaglyph Camera - extending the use of the Universal and Arc Rotate Cameras for use with red and cyan 3D glasses.

  • Device Orientation Cameras - this is a designed to react to a device being tilted forward or back and left or right.

  • Virtual Joysticks Camera - on-screen 2D graphics that are used to control the camera or other scene items.

  • Virtual Reality Camera a range of cameras for VR devices

Methods are available to change how a camera reacts to inputs and to use multiple cameras.

Coming next