I want the controls to match the camera. like when the camera switches to the one I made I believe that the controls and rotations still match the world and not the new camera that it switches to.
The above snippet does exactly that, when you switch the camera, also inputs switch relative to camera:
on this A D also moves however if you want turn in place can be done too, just you need to switch yaw inputs that time.
Meaning:
If you are pressing down and character moving to the camera
if you switch to next camera which is on players behind this time,
input will down will make player turn face the camera since its switched to a new camera rotation.
However as player UX it’s more disorienting will be, also keep in you mind your cameras are not static, they are moving. Each time they move their vectors are going to change slightly meaning your players movement too.
If you are looking for alternating movement as said can be done. Here is example of it.
or an example of what you want or a graphic demonstration of its design (paper design) would help us to solve it.
Here is also a simple solution to manually control and switch direction depending on the camera,
If you use similar camera cardinal angles you can always define it for that camera.