BP_LPSP_Camera_Manager

Introduction

The Camera Manager Blueprint, referred to as BP_LPSP_Camera_Manager, is a crucial asset for our project. It is essentially an Unreal Engine Player Camera Manager Actor that we have customized to our specific needs. One of the primary reasons for having a customized blueprint is to make modifications more accessible, particularly in regard to the looking clamps. These clamps are critical to our project, especially since we make adjustments to them during instances such as a player’s free look.

It is worth mentioning that this camera manager is not just any ordinary blueprint. It is actually assigned to our custom player controller, which we have named BP_LPSP_PController. This is where the Camera Manager Blueprint is implemented and put to use.

Notes:

  1. The Player Controller is a blueprint that is responsible for handling player input and controlling the behavior of the player character in the game. It acts as a mediator between the player and the game world, processing input events such as key presses, mouse movements, and gamepad inputs, and using that information to control the character's movement, actions, and interactions with the game environment.

  2. The Player Camera Manager is a blueprint that is responsible for managing the player's camera view and controlling how the game world is presented to the player. The Player Camera Manager is an Actor that is typically placed in the level and is responsible for controlling the camera's location, orientation, and other properties.

If you are looking to access the Camera Manager Blueprint, you can easily find it at the following path: LowPolyShooterPack/Core/Characters/BP_LPSP_Camera_Manager.

Editable Variables

The Editable Variables in the Player Camera Manager refer to the adjustable clamp values used for camera looking, with the default values set as the Clamps Default. These clamp values dictate the range of movement allowed for the camera and can be updated as needed.

Clamps Default:

The Clamps Default variable is a set of default looking clamp values utilized by the camera manager. It serves as the default value when updated values are not available.

Private Variables

Player Character:

The Player Character variable is a critical component of the Player Camera Manager, providing a reference to the specific player character using the camera manager. This reference is essential for obtaining information from the player character, which is used to update the camera's movement.

Functions

The Player Camera Manager offers a set of functions that can be utilized to modify its behavior.

Set Clamps From Value:

The Set Clamps From Value function is a critical component of the Player Camera Manager. It takes an SClamps value and sets the current value of the camera manager’s looking clamps from it. The SClamps value is a variable that defines the upper and lower bounds of the camera's movement. By using this function, the camera's clamps can be updated with new values as needed.


Last updated

Was this helpful?