Create a "z" finder..

Blitz3D Forums/Blitz3D Beginners Area/Create a "z" finder..

I want create a map/landscape editor, with an pre-builded map/landscape in b3d format.
I will use a top view and i want find the "entityy" of my map, because i need to "drop" tree, house, grass, etc. in it.
What way i can use to find the y value?

Thanks

Aza

If it is a top view, wouldn't you want the Y value - ie the terrain height?

Puki has a point ^_^. You might want to do a linepick straight down and grab the pickedY() value.

I am sorry and you have right.
I wann find the y value..
Thanks to every one, then i can pick it with linepick...
I'll try!
Thanks guys..

Just last question normally you both answer in less then 10 minutes, how you do it? :)

Aza

By posting.

:)

Another question on it, i cant try it now i don't have blitz in the office..
in the line pick command i must insert a dx, dy, dz, but if i want create a perpendicular line from the top, i just insert like this
linepick,0,3000,0,0,-3000,0
It's correct?

Aza

Just last question normally you both answer in less then 10 minutes, how you do it? :)



By checking the forums obsessively 24 hours a day. I'd like the forums to email me when people reply to threads I've contributed to.

That would produce a line pick starting at (0,3000,0) and going -3000 DOWNWARDS on the Y axis. I'm not sure what your after :o)

And that is exactly i want to do!!
Thanks Ross, but this time you are on late of 9 hours..
Too bad :)

Aza

Gotta work man :o)

I could have answered straight away - I read the post about 10 times.

I was playing hard-to-get.

Ross you can't work before answering me! :)
Puki i have a question for you, what program you use to create mesh?
I see one of your screenshoot, i see 3 person in it with cloth.
The question is do you use cloth modifer or you normally create a mesh by yourself for any cloth?

Aza

I'm not sure which picture you mean.

Technically, I use the same software as do the artists at Bethesda Softworks and Arkane Studios, etc.

If you are talking about cloth as in a flag, a hanging banner, a cloak/cape on a character, whereby I want it animated then, I would code the cloth separately - this allows you to Level Of Detail the scene.