I’m working on a little tech demo for building real-world terrain on Roblox. However, I need to accurately convert an X, Z coordinate position to a longitude and latitude value, which I honestly have no idea how to do.
I’ve tried searching on Google but have come across nothing of use.
Thanks!
Edit: To make the question more clear, let’s say that the steps I would take to do this would be as follows:
- Get distance between current vector2 position (10,10) and the centre of the world (0,0). That would be 10,10
- Convert this to meters
- Use that to generate a longitude/latitude
I have no idea if that would actually work, at this point, I’m just spitballing ideas.