Rotating the CardboardMain to the direction the head is facing

So I’m very new to this but I’m getting the hang of it. I’m making a cardboard game with a ps4 controller to walk around. Everything is working until I turn around from the start point. I have the left analogue stick going forward and back working in every direction but the strafing is only working on the first angle. It’s not adjusting so it only sticks to one axis regardless of where I’m looking. I think it’s because the CardboardMain isn’t rotating with the head, which is what I want it to do, like it does when you use the wasd keys, but I can’t work out how to get it to do that with my super limited knowledge. Can anyone help me out? Google isn’t helping in the slightest.

Are you using Cardboard prefab camera?
CardboardHead script is there to do that. Have you attached it to your camera?

I think so? The head script was already in the head tab in Cardboardmain,

I reckon CardboardMain is supposed to be a root object in the hierarchy. Maybe something in your FPSController is preventing CardboardHead to do its job. What components have you attached there?

I haven’t added anything I don’t think. Just the stuff it comes with already.

I followed this tutorial then changed this part - Vector3 desiredMove = transform.forwardm_Input.y + transform.rightm_Input.x; - to this - Vector3 desiredMove = Camera.main.transform.forwardm_Input.y + transform.rightm_Input.x; - The guy who made this video said this new line would help and it did but the strafing didn’t work with it.