Space Engineers

Space Engineers

评价数不足
Connected Ships Center of Mass Exposer (For PB)
   
奖励
收藏
已收藏
取消收藏
Type: Mod
Mod category: Script
文件大小
发表于
更新日期
32.009 KB
2022 年 3 月 5 日 上午 6:15
2022 年 3 月 5 日 上午 6:50
3 项改动说明 ( 查看 )

订阅以下载
Connected Ships Center of Mass Exposer (For PB)

描述
Exposes the whole ship's center of mass to the programming block
Including connected ships via landing gear, connector

Made by Georgik, published by me, with help from Digi

-------

It unfortunately does not fix the issues with grid rotation when connecting other ships on its own

-------

This is unlike "CenterOfMass()" which only shows the center of mass of the ship the pb is on, not all connected ships

This property can be accessed like this:

IMyShipController.GetValue<Vector3D>("GridGroupCenterOfMass")

-------

If you want this to be in game without a mod, please vote here:
https://support.keenswh.com/spaceengineers/pc/topic/23847-center-of-mass-and-mass-pb-api-inconsistent-and-incomplete

3 条留言
Unruly 2022 年 3 月 5 日 下午 12:04 
... or even a plugin. Thanks for replying, and for your mod.
Erikan39  [作者] 2022 年 3 月 5 日 上午 11:00 
@Unruly it does not fix that unfortunately
it only adds the ability to get the connected ships center of mass in the programming block

But if you were flying the ship with only PB's then it would be possible to fix that,
Which is exactly the kind of script Im working on using this mod,
but Im calculating thrust with Digis realistic thrusters mod, not the vanilla

Perhaps one day I can make a script that uses this to fix that issue, but It'd probably be better to make a mod that does that, not a script and a mod...
Unruly 2022 年 3 月 5 日 上午 10:32 
So, does it fix the drift/rotation that comes from using pistons/rotors/hinges on flying grids?