Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Making Camera Able to See Through Parts?

Before the recent updates on Roblox, i was able to have the client see through parts by setting the CameraSubject to their head part:

workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character.Head

However, after the updates, this method stopped working. Is there any other ways to do this?

1 comment

0

I've had a theory on how to do such a thing, I'd promptly assume with the usage of a raycast & localized (localscript) cancollide you could, but then the player could go through the part, that's the problem (well by theory)

1 answer

✓ Accepted answer

You could set the client's mininum and maximum zoom distance:

local Player = game.Players.LocalPlayer
Player.CameraMinZoomDistance = 30

This will make the camera see through parts below the distance you set.

This discussion is preserved as it was. New answers, comments, and votes are closed.