Allow us to change the parts that cutoff the camera

As a Roblox developer, it is currently impossible to change the default camera’s settings to decide which parts obstruct the camera.

A trick I use in most of my games, is that I usually turn cancollide off for models and create my own hitboxes by making parts that are invisible with cancollide on so that it’s easy to traverse the models. I used to be able to edit the camera scripts so I could make it so noncollidable parts still obstruct the camera, but recent updates to the scripts and properties of the Camera have made it impossible to do so without completely rewriting the camera system.

(This is the function that the current default camerascript uses Documentation - Roblox Creator Hub, which does not let us change the specific properties of parts that obstruct the camera)

If Roblox is able to address your issue, how would it improve your game and/or your development experience? Please be as specific as possible.

Allowing me to change the parts that cutoff the camera would allow us to make fences with decals as textures still block the camera, making custom hitboxes for models that still obstruct the camera without making a custom camera system. This would both greatly make the experience of developers and players vastly better.

12 Likes

To make decal objects block the camera I just set the Transparency to 0.999. You’d need to have pretty good eyes to differentiate but the camera won’t see through it.

1 Like

I’m working on an overhaul of the poppercam script that will relocate all cutoff logic to Lua (among other things). It will let you manually specify which parts can clip with the camera via CollectionService tags, which I think addresses your issue.

With that said, the main goal of the new poppercam algorithm is to provide an optimal default without forcing devs to manually tag blacklisted geometry. If you find a case where the default in the new system isn’t good enough, file a bug report or DM me here and I’ll investigate.

Here’s a test level that uses the new poppercam so that you can get a feel for what we’re trying to do: Pop - Roblox

8 Likes

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