安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题






Like say you were orbiting a planet at a speed of 200m/s at lets say 0.75g and dropped an escape pod down to the surface, could you make a script that could pinpoint exactly where its going to hit.
and of course have variables that can be changed manually depending on the planet, gravity-of-planet, gravity-where-stationed, and velocity, etc. that way people can use it on any sort of planet modded or vanilla?
after
double[] planetTitan = new double[]{36384.5,226384.5,5796384.5,9785,0.25};
add
double[] planetTriton = new double[]{-284463.5,-2434463.5,365536.5,48151.8,1.0};
after
planetsList.Add(new PlanetData("Titan",new Vector3D(planetTitan[0],planetTitan[1],planetTitan[2]),planetTitan[3],planetTitan[4]));
add
planetsList.Add(new PlanetData("Triton",new Vector3D(planetTriton[0],planetTriton[1],planetTriton[2]),planetTriton[3],planetTriton[4]));
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1860078981
If i ever get around to porting my script from python to c# for in-game use I'll have to add some extra functionality so mine isnt too similar to yours, perhaps i'll add orbital calculations for sat placement or something, in any case, great job on this script
@Loki-Reaper Variable that necessary for calculation (gravity,planet position etc) are entered in the script, we can find them in SANDBOX_0_0_0_.sbs in the save data folder. And we can find the formula in the SE wiki article.
So this script only work for vanilla planet.(We can adding new planet data to this script by appending it to PB custom data, but I could not find the variable about customer planet.)