Camera Zoom not the same on Roblox studio and in-game

the camera Zoom is not the same on roblox studio and in-game
The CameraMinDistance is the same and the place in-game and in studio have the same version
I don’t know how i can fix that
Roblox studio :


In-game :

1 Like

Update speed is a bit different between the two and with some parts, like the hair.
What is it you don’t like about this?

Little set zoom trick lets you set it any way you wish, even how it starts.
This is a server version.

--ServerScript in ServerScriptService .. Zoom

game.Players.PlayerAdded:connect(function(player)
	player.CharacterAdded:connect(function(character)
		--=========================-
		local zMin, zSet, zMax = 4.5, 6, 9.5
		--=========================-
		local function setZoom()
			player.CameraMinZoomDistance = zSet
			player.CameraMaxZoomDistance = zSet task.wait(0.1)
			player.CameraMinZoomDistance = zMin
			player.CameraMaxZoomDistance = zMax
		end setZoom()
	end)
end)
2 Likes

lwk, i think it’s because of the aspect ratio of the in-engine view and what’s actually going to be seen ingame. The roblox studio one is seeing more horizontally because it’s so wide compared to the roblox client.

2 Likes

Not the aspect-ration tho but what i’m trying to achieve is that i want to have the zoom close enough to have my character semi-transparant but not to be in first person

Update speed is a bit different between the two and with some parts, like the hair.
What is it you don’t like about this?
Little set zoom trick lets you set it any way you wish, even how it starts.
This is a server version.

i’ll try your script if it work

it’s not working, i want to zoom very close to my camera at the point that my character get semi-transparant but not in first person, but for some reason in roblox studio i can do that but not in-game

That would be the zMin setting. That one is set ATM to not get that close.
Myself, I try to avoid that transparency or hitting the roof of where I am ATM.
I think it breaks immersion. Personal preference, I guess.

i’m doing a Obby game so it’s essential (for some players) to have that feature, it can be weird for some player lol but the issue that i already tried but since the CameraMinDistance minimum is 0.5, it change nothing

1 Like

I had one the skips that moment and just goes right to first person.. can’t find it right now :confounded_face:
I don’t use first person much.. I think 0.5 is default, so ya, not going to change that.

i have that too, i can’t really do something but for some reason other game can do that

2 Likes

I don’t think anyone will care, they all do that zooming in.. You’re as picky as I am. :woozy_face:
It would be something like .. if zmin < x then .. set it to first person zoom, with enough play to do that in reverse.

Considering I can’t find that old script, that means I didn’t really like it and buried it on purpose.
It must have been pretty ugly to get that treatment.

Looks like my way of dealing with it was to not deal with it.. Good luck.

1 Like

I found a solution, a popular obby game made a kit, they changed the PlayerModule so now it work, ty for helping me

1 Like