I am working on a large terrain myself and I place all
objects on the terrain with the following format:
PositionEntity Ent01,xx,TerrainY(Terrain,xx,0,zz)+80,zz
The +80 can be adjusted to get just the right hight.
For tt = 1 To trees
Treeb(tt) = CopyEntity(Ent01) ;another tree
RotateEntity(Treeb(tt),-90,Rnd(0,320),0)
xx=Rnd(10,rd)
zz=Rnd(10,rd)
ScaleEntity Treeb(tt),4,4,4
PositionEntity Treeb(tt),xx,TerrainY(Terrain,xx,0,zz)+80,zz
Next
use this to place many copied trees on the terrain.
objects on the terrain with the following format:
PositionEntity Ent01,xx,TerrainY(Terrain,xx,0,zz)+80,zz
The +80 can be adjusted to get just the right hight.
For tt = 1 To trees
Treeb(tt) = CopyEntity(Ent01) ;another tree
RotateEntity(Treeb(tt),-90,Rnd(0,320),0)
xx=Rnd(10,rd)
zz=Rnd(10,rd)
ScaleEntity Treeb(tt),4,4,4
PositionEntity Treeb(tt),xx,TerrainY(Terrain,xx,0,zz)+80,zz
Next
use this to place many copied trees on the terrain.