08.01.2016, 21:12
Well. MapAndreas returns the HIGHEST Z of a given point. It's based 100% on a heightmap. Use ColAndreas.
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.
Quote:
I'm afraid ColAndreas has the same issue. |