FollowDirection

The FollowDirection operator tracks the current position and adjusts the camera so that the position marker is in the center of the safe area. The heading of camera is fixed to 0 (north), meaning that the position marker changes its orientation, but the map does not rotate. The tilt is set to 0.

You can also define a custom follow direction operator behavior by creating a new instance of the FollowDirection class with a custom FollowCameraOperatorConfig.

See also