One of the more basic requirements of a dynamic camera is to automatically focus the walk direction of the player character by rotating the camera in the movement direction.
The less the player needs to adjust the camera themselves, the better. This is why we’ve added a camera modifier which will rotate the camera in the movement direction automatically as long as the player isn’t actually controlling the camera.
Here are examples from AAA video games.
Source - Hogwarts Legacy
Follow Disabled
Source - Hogwarts Legacy
Follow Enabled
Source - Ghost of Tsushima
Source - GTA IV
Yaw Follow Modifier Settings
There are a number of settings you can tweak for the yaw follow modifier.
Enable Yaw Movement Follow: Whether this behaviour should be enabled.
Never enable the Yaw Follow Modifier and/or Pitch Follow Modifier at the same time as the Focus Modifier.
You can do this either with the camera data asset or the functions, as described further below.
Yaw Follow Speed: The speed at which the camera tries to catch up with the movement direction of the player.
Yaw Follow Time Threshold: The minimum time the player shouldn't rotate the camera manually before the yaw follow kicks in.
Yaw Follow Angle Threshold: Minimum yaw angle difference above which we trigger the yaw follow modifier to avoid the modifier being triggered for small angles.
Triggering the Yaw Follow Modifier
You can do this either by calling SetYawMovementFollowSettings on the BP_UGCCameraManager
Or you can set them through the UGCCameraDataAssets, and then calling SetCameraData on BP_UGCCameraManager (see