What do you want to achieve? Keep it simple and clear!
I want a part thats compleately transparent and when the player is inside it there are no lighting effects but you can see them outside of the part
What is the issue? Include screenshots / videos if possible!
I dont know how i would do this
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
ive tried a google serch it said a viewport frame but thats to make parts un effected by the lighting i need somthing a bit more complex
In the mean time im trying to see if viewport frames would work
So im working on a storm effect and ive decided the way im going to do it is having a cilinder part be the “Safe Zone” basicly i have the scripts working but now i need to show the player the incoming storm. There are lighting effects in lighting and i need it so when inside the safe zone you can see the storm outside the safe zone but in the safe zone the storm effects arnt there
local safeZone = Zone.new(cylinder)
safeZone.localPlayerEntered:Connect(function()
-- lightning off
end)
safeZone.localPlayerExited:Connect(function()
-- lighting on
end)
-- Check first time
if zone:findLocalPlayer() then
-- lighting off
else
-- lightning on
end
Bro you have to implement your own logic. You can do whatever you want with this module. All this module does is tell you when the player is in a certain area or not.
so inside this part you cannot see the effects but if you go to the edge if you look behind you you dont see the effects but if you look forward inso the storm you can see them
Unfortunately if it’s Atmosphere and Lighting properties you will not be able to be in one spot and have two properties on at once.
Meaning when you are in the safe zone the lighting effects will have to be either set one way or the other. You can’t have it that the effects are one way for the area inside the zone and simultaneously something else outside the zone.
What you can do however is make the lighting effects change based on whether the camera is in the safe zone or not.
So if the player is in the safe zone and walks up to the edge and moves their camera into the storm but they themselves are safe, it will show the storm effects.
For ParticleEmitters and other things where you can control the position of them, you can just make sure they are only Emitting inside the storm.