Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Sandbox.ModAPI.Ingame.IMyShipController.TryGetPlanetPosition

Malware edited this page Dec 25, 2018 · 21 revisions

IndexIMyShipController

csharp[bool](System.Boolean) TryGetPlanetPosition(ref [Vector3D](VRageMath.Vector3D) position)##### Summary

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.

Returns
Clone this wiki locally