how to find in game lat / long ?
how to find in game lat / long ? like howww and thanks. I already find the ( x , y z ) but its totally different ?
asked Jan 17 '17 at 06:01 AM in Blueprint Scripting
Hmm, basically you want to convert a Vec3 to polar coordinates. Assum r is the radius if your sphere and X,Y,Z the spacial coordiantes:
latitude = Acos( Y / r )
longitude = Atan(X / Y)
IE this image:
thetha is your latitude, phi the langitude
answered Jan 17 '17 at 09:34 AM
There is no out-of-the-box feature for this. You would have to make one. You could use the X and Y coordinations for this and build your system based on it..
answered Jan 17 '17 at 09:10 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here