Question about mapandreas Plugin
#1

Right so let me give a straight example:

If I want to find the Z, using X & Y and I am under a bridge, the Z will return on the bridge if I use mapandreas. Why?
Reply
#2

Mapandreas is obsolete try ColAndreas.
Reply
#3

Quote:
Originally Posted by Pottus
Посмотреть сообщение
Mapandreas is obsolete try ColAndreas.
Oh, thank you for the fast answer!
Reply
#4

I'm afraid ColAndreas has the same issue.
Reply
#5

Quote:
Originally Posted by Lucky13
Посмотреть сообщение
Right so let me give a straight example:

If I want to find the Z, using X & Y and I am under a bridge, the Z will return on the bridge if I use mapandreas. Why?
If you are under the bridge you already know the z don't you ? Even if they don't have a native in either plugins you can try finding a collision in Z lower than the Z you have, this will do the trick, will take a little more calculation n coding, but possible to get it working.
Reply
#6

Well. MapAndreas returns the HIGHEST Z of a given point. It's based 100% on a heightmap. Use ColAndreas.

Quote:

I'm afraid ColAndreas has the same issue.

No, it doesn't. You can cast a ray from any point to any other point and ColAndreas will always return the first point of collision. So if you are casting from say 1000 units above the ground straight to 0, yes it will return the top of the bridge. But if you are casting from below the top of the bridge it will return the ground below the bridge. So you should either check the model ID of the collision or use the multi-cast function.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)