check for mesh
Blitz3D Forums/Blitz3D Programming/check for mesh
| ||
Can I check to see if there is a mesh at a loaction before I drop an object there using types? I use TerrainY() to see the height of the terrain but I was wondering if there was a way to check the map for types before I plunked a tree there. |
| ||
You could use a Linepick. |
| ||
do a linepick from a point above the drop location with a radius set for the size of area to test.. see what it runs into 1st..... |
| ||
@jfk: yer too fast for me :) |
| ||
So I am imaginging linepick as an imaginary line that I could use to test the surface in that x,y,z,dx,dy,dz range... That way I couldn't put a tree in the water (unless I wanted too... It is the south y'know!) or in a building... OK let me try that. |