Posts: 276
Threads: 17
Joined: Dec 2015
Reputation:
0
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?
Posts: 4,885
Threads: 57
Joined: Jun 2012
Reputation:
0
Mapandreas is obsolete try ColAndreas.
Posts: 276
Threads: 17
Joined: Dec 2015
Reputation:
0
I'm afraid ColAndreas has the same issue.
Posts: 3,324
Threads: 96
Joined: Sep 2013
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.