Region3 to be able to detect planes in the region
My issue is It works on my testing game, but on another game which is an airport it doesn’t work.
I have Changed ignore the list so that Part1 and Part2 can be detected, still didn’t do anything
local Part1 = script.Parent.Parent.Parent.Body.P1
local Part2 = script.Parent.Parent.Parent.Body.P2
script.Parent.SurfaceGui.Frame.Start.MouseButton1Click:Connect(function()
local regoin = Region3.new(Part1.Position,Part2.Position)
local ignore = {Part1,Part2,script.Parent.Parent.Parent}
for _,v in pairs(game.Workspace:FindPartsInRegion3WithIgnoreList(regoin,ignore,math.huge)) do
print(v)
end
end)
This would print nothing.
I just don’t understand how the exact same plane model and fuel truck can work in one game but not another. The game where the script isn’t working currently streams the workspace. But due to the script being a server script it would not effect it. I didn’t know if there was any other properties which can effect Region3.
This is what happens in the working game