for i,v in pairs(workspace:FindPartsInRegion3(Region3.new(a.Position-Vector3.new(80,80,80),a.Position+Vector3.new(80,80,80)),arl,math.huge)) do
print(v.Name)
if v.Parent.Name=="Tree" then
chagar = true
end
end
I’m using 160 cubed to find out the parts that are the treed.
But even that does not work, yet it still only detects baseplates when many trees are alot closer?
As you can see, the grass blocks are the baseplates, and it only detects, that, when the trees are bundled up closely and it is not too good.
The big question
I want to fix this and make it so that it can detect if trees are close
Hello,
Is not working. Attention attention! Help, Help please! Lord and saviour come fulfill my wishes, please, friendly samaritan! Help help! Attention needed.
Hello,
The fact that you’re asking about the second parameter of a region3 which is the part that is occluded shows you know nothing about region3s. ar1 is the model of the parts inside of the tree, ar1 is parented to a folder that holds all trees in the game.