Sandbox.ModAPI.Ingame.IMyShipController.TryGetPlanetPosition - bimbam2103/space_engineers GitHub Wiki
← Index ← Namespace Index ← IMyShipController
public bool TryGetPlanetPosition(out Vector3D position)
Attempts to get the world position of the nearest planet. This method is only available when a ship is within the gravity well of a planet.
True if cockpit is in gravity of planet
- Vector3D position