So most people know about the Camera bug, if you don’t; Poppercam is basically on always which means the Camera glitches out 90% if you’re doing your own Camera stuff. It’s most visible in games with real shops such as Mining Simulator.
Does anyone have a solution that doesn’t use TweenService? I don’t want it to glide across, I’d rather it just be instant which you can’t do with TweenService.
My Camera manipulation code is literally just one line (and I know it works because I haven’t edited it since it broke and double checked with printing the Camera.CFrame
Yeah before I used
game.Workspace.CurrentCamera:Interpolate(CFrame.new(game.Workspace.target1.Position),CFrame.new(game.Workspace.target.Position),.1)
Now I use…
game.Workspace.CurrentCamera.CFrame = CFrame.new(game.Workspace.target1.Position,game.Workspace.target.Position)
Which works alright, although you don’t get the fancy animation );
Both situations I used two target blocks in workspace though, one for position and one for a target angle. But you could just use positions
The issue occurs when the camera collides with objects and corrects itself while it’s set to Scriptable. This happens for instance when you are setting the CFrame of the camera every RenderStep to make a custom camera system, which is what a solution is wanted for.
As of now, I haven’t seen any posts from staff addressing any immediate fixes to this potentially game breaking issue. It broke one of the functions in my game, the only thing I haven’t tried is using tween service on the camera CFrame but I noticed setting it is even glitchy. I’m hoping it will be fixed very soon.
What’s Poppercam again? Is there even a way to disable it? If Poppercam is causing the issue (I don’t even know what it is and probably don’t use it), then I’d rather just rid of it with a fork of the current PlayerScripts.
It’s a problem with the source code behind the poppercam, disabling core scripts won’t make any difference sadly.
I have found that setting the camera CFrame directly seems to cause the problem less, but still sometimes. Interpolating and doing other stuff causes it a lot more. Keeping the camera away from objects in the world also stops it from happening, but this is obviously infeasible in most cases.
I switched to using an old version of the CameraScript which can be found at the bottom of this post:
“OldPlayerScriptsFinalVersion.rbxl”
This fixed all the weird camera stuff that was happening on my game’s menu. I don’t think this is a good long term solution but it works for now and it was easy to do.