mirror of
https://github.com/unixtensor/Roblox-Elevator-Game.git
synced 2025-12-16 10:41:54 +00:00
Ladder contacts
This commit is contained in:
@@ -34,12 +34,19 @@ local function HideRaycastContainers(Folder: Folder, enabled: boolean)
|
||||
Start.Transparency = enabled and 1 or .9
|
||||
end
|
||||
|
||||
local function HideLadderContact(Part: BasePart, enabled: boolean)
|
||||
Part.Transparency = enabled and 1 or .9
|
||||
Part.CanCollide = true
|
||||
Part.CastShadow = false
|
||||
end
|
||||
|
||||
local EditorEntities = {
|
||||
["LightSource"] = HidePart,
|
||||
["PulleyRopeContact"] = HidePart,
|
||||
["BarrierCollision"] = HideBarrierCollision,
|
||||
["StairSource"] = HideBarrierCollision,
|
||||
["RaycastContainer"] = HideRaycastContainers
|
||||
["RaycastContainer"] = HideRaycastContainers,
|
||||
["LadderContact"] = HideLadderContact
|
||||
}
|
||||
|
||||
function StudioEntities.indexAll(enabled: boolean): Entities
|
||||
|
||||
Reference in New Issue
Block a user