How can I access the main camera's forward vector and set that to the player's forward direction

no matter which way the camera is facing, it’s forward direction will always determine the player’s forward direction

How close is this to what you need: