Jump to content

Search the Community

Showing results for tags 'latitude'.

The search index is currently processing. Current results may not be complete.
  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements
    • Welcome Aboard
  • Kerbal Space Program 1
    • KSP1 Discussion
    • KSP1 Suggestions & Development Discussion
    • KSP1 Challenges & Mission ideas
    • KSP1 The Spacecraft Exchange
    • KSP1 Mission Reports
    • KSP1 Gameplay and Technical Support
    • KSP1 Mods
    • KSP1 Expansions
  • Kerbal Space Program 2
    • KSP2 Dev Updates
    • KSP2 Discussion
    • KSP2 Suggestions and Development Discussion
    • Challenges & Mission Ideas
    • The KSP2 Spacecraft Exchange
    • Mission Reports
    • KSP2 Prelaunch Archive
  • Kerbal Space Program 2 Gameplay & Technical Support
    • KSP2 Gameplay Questions and Tutorials
    • KSP2 Technical Support (PC, unmodded installs)
    • KSP2 Technical Support (PC, modded installs)
  • Kerbal Space Program 2 Mods
    • KSP2 Mod Discussions
    • KSP2 Mod Releases
    • KSP2 Mod Development
  • Community
    • Science & Spaceflight
    • Kerbal Network
    • The Lounge
    • KSP Fan Works
  • International
    • International

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Skype


Twitter


About me


Location


Interests

Found 2 results

  1. Surface Coordinates (Lat/Long) to Distance Calculator Have you ever wondered how far and long you would have to drive a rover to get from one place to another? Maybe you're planning a Science rover expedition, or maybe you want to place a base within driving distance of other bases or new Science biomes. Either way, here's a simple spreadsheet that calculates distance between two points on any planet/moon in KSP: https://docs.google.com/spreadsheets/d/11ahybKKvft5v7hfzkBEnTdFKhT_f-YsI3ITXKMeZDUw/edit?usp=sharing Make a copy of the sheet and you'll be free to make your own calculations between any two points on a planet or moon in KSP. All landed crafts will show their coordinates if you hover over them in map view. Note: The spreadsheet doesn't account for hills or elevation on planets. Coordinates must be in decimal format, so 2* 25' 48" N 17* 22' 40" E would look like 2.2548 and 17.2240, while 2* 25' 48" S 17* 22' 40" W would look like -2.2548 and -17.2240. Enjoy!
  2. Hello all. I am hoping someone out there can help me with an issue I am having. I am trying to expand my Walkabout mod to work with relocated KSCs (à la Kopernicus or Galileo). To do so, I need to reliably locate a fixed spot on the KSC grounds. It doesn't matter which spot it is, but I need to be able to get the coordinates of, let's say, the flagpole whether or not Galileo is installed. I tried using code similar to the following: var Kerbin = Planetarium.fetch.Home; PQSCity ksc = null; foreach (var city in Kerbin.pqsController.GetComponentsInChildren<PQSCity>(true)) { if (city.name == "KSC") { ksc = city; break; } } var kscVectorPosition = ksc.transform.position; var latitude = Kerbin.GetLatitude(kscVectorPosition); var longitude = Kerbin.GetLongitude(kscVectorPosition); var altitude = Kerbin.GetAltitude(kscVectorPosition); When I do this with a plain vanilla install of KSC (v1.2.2), it gives me a point that is in the centre of the crawlway about 1/4 of the way between the VAB and the launchpad. However, when Galileo is installed (also with v1.2.2), it gives me a point that is near the edge of the R&D buildings. Is there a way that I can reliably get the coordinates of a point in the KSC?
×
×
  • Create New...