Want ray cast to be true when intersecting any object

I have this ray

Physics.Raycast (transform.position, dwn, 5)

in an if statement which is true when I am close to the terrain at the bottom. [ so basically it only seems to respond to terrain, I have print statements at the bottom to make sure ]

How can I get it to be true when I am above ANY object!


Thank you = )

I haven’t seen a reply re: terrain or placed tree. If it’s a placed tree, you can work through Mulldor’s suggestions. If it’s a terrain tree (or you plan to make them terrain trees) you’ll need to consider a few additional things. Details here