|
|
楼主 |
发表于 2023-2-15 12:19:04
|
显示全部楼层
用的是这个代码
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); |
|