If I recall (I haven’t touched this in a while), I mean something like workspace.CurrentCamera.CFrame * Vector3.new(0, 0, -z)
– z
needs to be set to Lighting.FogEnd
.
Hey, I’ve been running into the same issue but I am using the new Atmosphere
class.
Would anyone happen to have a solution for those using it?
I made something like this before except I had it so that the CFrame was set to the HumanoidRootPart’s CFrame instead of their camera’s CFrame. Also, I wasn’t ever going to change the look of the fog, so I only needed to apply the CFrame every step (I wouldn’t have to worry about the color or scale, in your case).
Since it was still kinda jittery, I just attached it to the character’s HumanoidRootPart using a WeldConstraint to solve it.