How to make camera treat all parts as cancollide off?

When a parts cancollide property is off the camera lets its self go through it not being stuck infront of it. In the video I show what I mean

How can I make the camera treat all parts like this? With out creating extra parts.

3 Likes

Still bumping

There’s a built-in setting for this! Set StarterPlayer.DevCameraOcclusionMode to Invisicam, it also makes obstructing parts slightly transparent so you can still see your character.

2 Likes

I have a custom version of that already in place right now but how can apply this so it doesn’t make the parts transparent?

This is what I have already if it somehow helps

Ah okay, first set the occlusion mode back Zoom, and I’ll provide you some steps.

You’ll have to edit the Roblox PlayerModule, so first we need to get it:

  1. Run the game
  2. Go to Players[yourPlayer].PlayerScripts
  3. Copy the PlayerModule
  4. Stop the game, and paste into StarterPlayer.StarterPlayerScripts

Now you need to modify it for what you want, open PlayerModule.CameraModule.ZoomController, go to lines 109-113, which should be:

poppedZoom = Popper(
	focus*CFrame.new(0, 0, MIN_FOCUS_DIST),
	maxPossibleZoom - MIN_FOCUS_DIST,
	extrapolation
) + MIN_FOCUS_DIST

and just comment it out or delete it, now it shouldn’t “pop” the camera.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.