setting up forest

Blitz3D Forums/Blitz3D Beginners Area/setting up forest

lauri(Posted 2011) [#1]


I try to set up forest with that code, but trees are floating in the air. And moving them downwards doesn't help, because they're not at right heights. I have big mesh ground(made with blender) with pickmode 2.


_PJ_(Posted 2011) [#2]
Use the correct value for your Terrain Handle and try the following to see what the problem is:



Last edited 2011


Warner(Posted 2011) [#3]
I don't think LinePick is used correctly here. I believe the second set of parameters should be a direction rather than a position:
LinePick(x,500,z,0,-700,0)



_PJ_(Posted 2011) [#4]
Yes, that's right. I didn't see the x and z there!


lauri(Posted 2011) [#5]
Thanks a lot! The problem was in linepick, now works fine!