This works great but for me I was using the popper script for something else and it didn’t work.
I instead replaced the getTotalTransparency(part) > 0.25 on line 128 with getTotalTransparency(part) < 0 and it also worked.
This works great but for me I was using the popper script for something else and it didn’t work.
I instead replaced the getTotalTransparency(part) > 0.25 on line 128 with getTotalTransparency(part) < 0 and it also worked.
How to mkae it work for cancollide parts?
This doesn’t work for me, the camera can still go through the transparent plastic
It says “unknown global (long name)”
Thanks.
Yeah, the script was updated quite a while ago, try this instead:
local function canOcclude(part)
-- Occluders must be:
-- 1. Opaque
-- 2. Interactable
-- 3. Not in the same assembly as the subject
return
getTotalTransparency(part) < 1 and
part.CanCollide and
subjectRoot ~= (part:GetRootPart() or part) and
not part:IsA("TrussPart")
end
It’s not recommended to fork the PlayerModule, but honestly, I don’t see a better way.
Why not? I’m just curios
The script could be updated in the future, causing issues. I remember reading it, so I’m not exactly sure what the reasoning is.
Does it have to use transparency? If not, I usually just make it 0 transparency and add a SpecialMesh
type 0 into the SpecialMesh’s MeshId
Don’t leave it blank, just type 0