Lost Planet 2 Aiming System - Free Moving Crosshair

Hi There! I’m currently creating a TPS game and I’ve been trying to emulate the aiming system from the Lost Planet games where the crosshair moves freely until it nears the edge of the screen, then rotates the camera in the direction of the crosshair while also having the player character model aim towards the crosshair.

Any ideas are appreciated as I’m pretty stumped on how to go about this.