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

How do you use Camera:GetLargestCutoffDistance() properly?

How do you use Camera:GetLargestCutoffDistance() properly? I think the camera ignores the parts that you cut off or something, and I want that. I want the camera to ignore certain parts (that will be cloned and then deleted) so the player can zoom out the camera without the parts being in the way. I think :GetLargestCutoffDistance() is the way to go, but I don't understand it.

workspace.Camera:GetLargestCutoffDistance(BasePart)

Thanks

1 answer

✓ Accepted answer

###I don't know much about this stuff but you used the method wrong. The argument to GetLargestCutoffDistance is an array of PVInstance objects. Since the BasePart class inherits from PVInstance, there won't be any trouble.

workspace.CurrentCamera:GetLargestCutoffDistance({BasePart})

1 comment

0

oh thanks

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