I’m making a custom camera tilt system. However, I want to tilt it on the Y axis. For X and Z, I’m doing workspace.CurrentCamera *= CFrame.Angles(x,y,z), and this works because the X and Z rotation is reset to 0 each time the camera renders and calculates its position. However, with the Y axis, the rotation simply stacks and doesn’t reset after I set the tilt value back to 0
workspace.CurrentCamera.CFrame *= CFrame.Angles(0, math.rad(10), 0) works perfectly fine to me (rotates camera around the player), maybe you want to achieve something like workspace.CurrentCamera:SetRoll(number)? note that it only works on camera type = scriptable
oh also note that you gotta do math.rad(degrees) if you want to mess with CFrame.Angles() in degrees, btw camera FULLY ignores the Z axis rotation, it just doesnt care and puts it back to 0
Did you care to read a word I said? I never said that didn’t work. I said it would stack because the Y axis doesn’t reset each frame the camera renders.
Can you post your code? This seems kind of abstract to me