MapPin XY to world XYZ
is there anyway to convert the XY to world XYZ?
|
Quote:
|
LibGPS has that feature.
|
Quote:
i use GetMapPlayerWaypoint() to get that set waypoint which returns a normalized XY but from my testing Y is actually Z and not Y so im not understanding the conversion there. |
Quote:
local x, y = gps:LocalToGlobal(GetMapPlayerWaypoint()) local z = 0 You can't guess the Z if you don't have the data anyway... |
Afaik a waypoint got no z info as it is just a point on the map, not respecting any height. Just x (left) and y (top) cordinates where the point was set.
|
All times are GMT -6. The time now is 07:42 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI