Place meshes on terrain

Blitz3D Forums/Blitz3D Programming/Place meshes on terrain

Y=terrainy() ;)

Sorry mate i wont be around later to help, Just remember that your moving fireball problem is just a visual effect, its not actually happening.

now,You know how large the map you used to create the terrain is:

make your tree map the same size.
You also know how much you scaled the terrain.

So, load in the tree image, read through it, and when you find a tree

treex=pixelX*terrainScaleX
treez=pixely*terrainScaleZ

Treey=Terrainy(treex,treez); (well, i dont remember this command but this is close...)



Cheers