This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 124
Sandbox.ModAPI.Ingame.IMyShipController.TryGetPlanetElevation
Morten Aune Lyrstad edited this page Feb 3, 2022
·
21 revisions
← Index ← Namespace Index ← IMyShipController
public bool TryGetPlanetElevation(MyPlanetElevation detail, out double elevation)
Attempts to get the elevation of the ship in relation to the nearest planet. This method is only available when a ship is within the gravity well of a planet.
True if cockpit is in planet gravity
- MyPlanetElevation detail
- double elevation
Do you have questions, comments, suggestions for improvements? Is there something I can do better? Did I make a mistake? Please add an issue here, and prefix your issue title with Wiki. Thank you, your help will be very appreciated!