Install Steam						
					
				
				
									login
											 | 
						language
						
																																					简体中文 (Simplified Chinese)
																													繁體中文 (Traditional Chinese)
																													日本語 (Japanese)
																													한국어 (Korean)
																													ไทย (Thai)
																													Български (Bulgarian)
																													Čeština (Czech)
																													Dansk (Danish)
																													Deutsch (German)
																																							Español - España (Spanish - Spain)
																													Español - Latinoamérica (Spanish - Latin America)
																													Ελληνικά (Greek)
																													Français (French)
																													Italiano (Italian)
																													Bahasa Indonesia (Indonesian)
																													Magyar (Hungarian)
																													Nederlands (Dutch)
																													Norsk (Norwegian)
																													Polski (Polish)
																													Português (Portuguese - Portugal)
																													Português - Brasil (Portuguese - Brazil)
																													Română (Romanian)
																													Русский (Russian)
																													Suomi (Finnish)
																													Svenska (Swedish)
																													Türkçe (Turkish)
																													Tiếng Việt (Vietnamese)
																													Українська (Ukrainian)
																									Report a translation problem
							
						
 
											 
													







function init()
height = GetFloatParam("height", "-10")
end
function tick(dt)
local list = QueryAabbShapes(Vec(-1000, height -100,-1000), Vec(1000, height, 1000))
for i=1, #list do
xsize, ysize, zsize = GetShapeSize(list )
if xsize < 200 and ysize < 200 and zsize < 200 then
Delete(list )
end
end
end
If that still doesnt work, maybe try making the box smaller, so something closer to:
local list = QueryAabbShapes(Vec(-200, height -100,-200), Vec(200, height, 200))
for i=1, #list do
function init()
height = GetFloatParam("height", "-100")
end
function tick(dt)
local list = QueryAabbShapes(Vec(1000, height 100,1000), Vec(-1000, height, -1000))
for i=1, #list do
xsize, ysize, zsize = GetShapeSize(list )
if xsize < 200 and ysize < 200 and zsize < 200 then
Delete(list )
end
end
end