--[[
	Adds specified elevator to elevator collision group
]]

function CollisionGroupsController.addElevator(elevator)
	for _, child in pairs(elevator:GetChildren()) do
		if child:IsA("BasePart") then
			PhysicsService:SetPartCollisionGroup(child, Constants.CollisionGroup.Elevator)
		end
	end
end

return CollisionGroupsController
