Rotation issue when exiting vehicle

I’m having a major issue with my camera when I exit a vehicle at an angle. Can anyone help me with this? I’ve gotten the character to rotate back to the proper position but the camera isn’t.

try using only the player location, not player transform.