Something you might notice that is weird with first person, the game doesn’t really rotate along with the fps, which is pretty weird, I want to know how I can do this, any tips?
1 Like
Can you give more details please?
Well I have a slide feature in my game and it looks weird if the camera isn’t moving along with the head, right? That;s why I wanted this feature.
Oh well, you can actually change camera type to scriptable and change it’s cframe to the head cframe in a loop.
when i tried that it made the camera stay in one spot, could you try showing me how to do the last part,
LockRotation = true
repeat wait()
Camera.CameraType = Enum.CameraType.Scriptable
Camera.CFrame = Head.CFrame
until LockRotation == false
Any way to just make this only rotate on the y axis?
Well you can use something like Camera.CFrame *= CFrame.new(1, 0, 1) + Head.CFrame.Y (Rotation instead of CFrame)
I got an error: invalid argument #2 (Vector3 expected, got number)
wdym? should i do cframe.angles instead or something?