|
runcode PlanetAPI star = ((StarSystemAPI) $loc).getStar(); $loc.addCustomEntity(null, null, "stable_location", "neutral").setCircularOrbitPointingDown(star, VectorUtils.getAngle(star.getLocation(), $playerLoc), MathUtils.getDistance(star.getLocation(), $playerFleet.getLocation()), 180f)
|
|