Remove Character Transparency

So I have a custom third person camera system but I want to switch between this and the default camera. When you zoom in all the way with the default camera, your character goes invisible. I want to make the character visible again when I swap over to my third person camera system. Is this possible with a method in the default Camera controller scripts?

1 Like

Are you saying that the toggle to third person already works and you just need to fix the transparency issue?

Or are you saying that you need both, and don’t have either working yet?

It is not very clear from the post and I don’t want to give you an answer that doesn’t address the problem correctly.

The transparency is handled by BasePart’s “LocalTransparencyModifier.”
I’m not sure where it is in the camera scripts, but I know you can disable it.
Alternatively, if you don’t want to mess with the camera scripts you can simply set the Character’s LocalTransparencyModifier to 0 in some type of loop.

1 Like

BindToRenderStep with a higher priority than the Camera specifically rather than a loop. This is how it is implemented in the PlayerScripts.

RenderStep Binding:
https://github.com/CloneTrooper1019/Roblox-Client-Tracker/blob/roblox/scripts/PlayerScripts/StarterPlayerScripts_NewStructure/PlayerModule.module/CameraModule.lua#L136

Update function:
https://github.com/CloneTrooper1019/Roblox-Client-Tracker/blob/roblox/scripts/PlayerScripts/StarterPlayerScripts_NewStructure/PlayerModule.module/CameraModule.lua#L468-L485

1 Like