The player’s view of the world is represented by a Camera object. Camera behavior can be changed to suit your game in a variety of ways. For example, the camera can react to events in the world, such as shaking when a monster walks by, or placed to the side of a player such as in an old school side-scroller.
Creating a First-Person Camera
A first-person camera is a view where the camera stays locked with the character’s head, which is more accurate to real life. It’s common in shooter and story games where the goal is to make the player feel immersed in the world.
In Studio, the
StarterPlayer object contains a number of properties that will affect the player’s camera. The CameraMode property determines how the camera will behave.
Change CameraMode to LockFirstPerson. This will ensure the player’s camera doesn’t move away from their head.
Playtest to see the first person camera in action.
Next Page Creating a Side-Scrolling Camera