I'm trying to make my character body turn left or right (not up and down) based on camera direction using a BodyGyro. I thought I knew how, but apparently, I don't know how because it's not working. No errors, it just doesn't move when I turn the camera (shocker, right?)
Here's what I have that's important. I was hoping I could come here to get some help since the forums shut down. I've tried everything and have no idea how to fix.
bodyGyro.CFrame = CFrame.new (game.Workspace.CurrentCamera.CFrame.lookvector.X, 0, game.Workspace.CurrentCamera.CFrame.lookvector.Z)
The bodyGyro is in the torso, by the way.

2 comments
Is that in a localscript?
yes