Lukiraq
(borge)
May 16, 2024, 12:10pm
#1
I’m making a 2D mode for my game, where the camera is facing top down
Some BillboardGui objects seem to disappear at certain angles. Please help
Example of it happening:
And then I walked down a bit and the sign appears out of nowhere (it was there before but it didnt show it)
awry_y
(Kat)
May 16, 2024, 12:39pm
#2
It’s probably because of the max distance property on the billboard gui?
1 Like
Lukiraq
(borge)
May 16, 2024, 1:03pm
#3
The max distance is set to infinity, so I don’t think its that unfortunately Good thinking though!
Lukiraq
(borge)
May 16, 2024, 1:09pm
#4
By the way this only happens in the in-game 2D mode, when I go into Roblox Studio edit mode it works fine. So this might be an issue with my script? This is the script I’m using:
Cam.CameraType = Enum.CameraType.Scriptable
Distance=35
game["Run Service"].RenderStepped:Connect(function()
game.Players.LocalPlayer.CameraMode=Enum.CameraMode.Classic
game.Players.LocalPlayer.CameraMinZoomDistance=5
game.Players.LocalPlayer.CameraMinZoomDistance=5
Cam.CFrame = CFrame.new(Primary.Position.X,Distance,Primary.Position.Z+10) * CFrame.Angles(math.rad(-70),0,0)
end)
Lukiraq
(borge)
May 16, 2024, 1:12pm
#5
Guys (aka 1 person lol)! I have found the solution! I had to set CameraMinZoomDistance to 100 and CameraMaxZoomDistance to 100 too! I don’t know why this fixed it, but it did!
system
(system)
Closed
May 30, 2024, 1:13pm
#6
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.