Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

How do you prevent a part from obscuring the camera?

Asked by
Merely 2122 Moderation Voter Community Moderator
8 years ago
Edited 8 years ago

Are there any ways to do this in Lua? I have a non-transparent part and I don't want it to be allowed to block the camera. I know you can write your own camera script like invisicam, but I was wondering if there was a way to do this with the default camera.

EDIT: To clarify, I mean that I don't want the camera to 'jump back' in position if this part passes in between the character and the camera.

0
Not positive, maybe setting the part to cancollide false? FrostTaco 90 — 8y

4 answers

Log in to vote
1
Answered by 8 years ago

Hmm. Make the part transparent, trust me on this and then get a big block, take a picture of it, make it a decal, put the decal on the transparent block and bam!

Ad
Log in to vote
0
Answered by 8 years ago
Edited 8 years ago

Yes, there is. Set the CameraSubject to the Torso (instead of the default Humanoid) - an example is shown below (localscript)

workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character.Torso
0
I think he means he wants a specific part from not obscuring the camera, not all parts. nilVector 812 — 8y
Log in to vote
0
Answered by
Zeumus 0
8 years ago
Edited 8 years ago

Choice 1: Transparency = 0.951 (or above)

Choice 2: CanCollide = false

Choice 3: Add many parts to try to resolve it and with different properties...

Choice 4: Custom CameraScript

Choice 5: Contact ROBLOX

Choice 6: Someone else might know?

EDIT: The Decal one is going to work... (credit to 'SH_Helper')

Log in to vote
0
Answered by 7 years ago

You could try offsetting the part using Brick Meshes.

Answer this question