# Search the Community

Showing results for tags 'coordinate'.

• ### Search By Tags

Type tags separated by commas.

### Forums

• General
• Announcements
• The Daily Kerbal
• Kerbal Space Program 2
• KSP 2 Discussion
• KSP 2 Dev Diaries
• General KSP
• KSP Discussion
• Suggestions & Development Discussion
• Challenges & Mission ideas
• The Spacecraft Exchange
• KSP Fan Works
• Gameplay and Technical Support
• Gameplay Questions and Tutorials
• Technical Support (PC, unmodded installs)
• Technical Support (PC, modded installs)
• Technical Support (PlayStation 4, XBox One)
• Community
• Welcome Aboard
• Science & Spaceflight
• Kerbal Network
• The Lounge
• Making History Expansion
• Making History Missions
• Making History Discussion
• Making History Support
• Breaking Ground Expansion
• Breaking Ground Discussion
• Breaking Ground Support
• International
• International
• KerbalEDU Forums
• KerbalEDU
• KerbalEDU Website

### Categories

• Developer Articles

• 0 Replies

• 0 Reviews

• 0 Views

Found 2 results

1. ## Surface height

Since the autorove mod is not updated, and it does not seem like it will happen soon, I'm considering assume maintenance. However, my first attempt in getting it to work in KSP 1.1.2 was only partially successfull. My first autorove ended up underground.... That's no good Currently the mod is calculating the height at which to place the rover, at a given latitude/longitude on a specific body like this. internal static double surfaceHeight(double latitude, double longitude, CelestialBody body) { Vector3d pqsRadialVector = QuaternionD.AngleAxis(longitude
2. ## Help with the orbit coordinate system

I'm working on yet another landing guidance plugin. I'm almost ready to share an early version, but I'm having trouble with the coordinate system. In particular, I'm trying to find the latitude and longitude of the active vessel on its current orbit at some arbitrary time in the future, taking into account the rotation of the planet. The code looks something like this (with a nod to KER for inspiration): Vector3d position = vessel.GetOrbit().getPositionAtUT(currentTime + deltaT); double bodyRot = 360 * (deltaT) / body.rotationPeriod; double lat = body.GetLatitude(position); double l
×
×
• Create New...