To quickly test Guided Actions with a FP Camera, replace the HECore in the scene with HECoreFirstPerson or your own HECorePrefabs if you have already configured a first person character.

{FEFE75BD-D97A-47EB-A9D1-F70DFE813265}.png

Configuring Guided States

Each state will require a slightly different camera configuration. Some actions will lock the player camera completely and others will allow the player to look around slightly.

Each guided action has a list of dynamic tags which will allow the camera choose the right configuration. (Check GuidedAction the component)

{937C4F3A-43BD-4C89-BDEC-2AF65175660C}.png

To define the camera behaviour for each action, modify the prefab FPCamera and add specific configs on the FirstPersonCamera component. For each existing guided action you need to add an entry to StateCameraConfig. See some examples below:

Window Jump Camera Config

See below a suggested camera config for the Window Jump action. This config makes the camera to follow the animation ignoring all player input.

{C55D8AF4-1C46-4714-B254-117592A4F52D}.png

Crawling Camera Config

For the Crawling action this is the suggested configuration. The animation is not matched. The player can still move the camera to look around by ticking both Clamp Max options.

{4D007680-57AD-4194-B0E2-888C885E9A71}.png

Ledge Walk Camera Config

This is a suggested configuration for the Ledge Walk action

{52AC55AB-3ECF-4910-A7BB-D9EBF3FA469F}.png