Space Engineers

Space Engineers

Zbyt mało ocen
Connected Ships Center of Mass Exposer (For PB)
   
Przyznaj nagrodę
Ulubione
Ulubione
Usuń z ulubionych
Type: Mod
Mod category: Script
Rozmiar pliku
Zamieszczono
Zaktualizowano
32.009 KB
5 marca 2022 o 6:15
5 marca 2022 o 6:50
Listy zmian: 3 ( zobacz )

Zasubskrybuj, aby pobrać
Connected Ships Center of Mass Exposer (For PB)

Opis
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

Komentarzy: 3
Unruly 5 marca 2022 o 12:04 
... or even a plugin. Thanks for replying, and for your mod.
Erikan39  [autor] 5 marca 2022 o 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 5 marca 2022 o 10:32 
So, does it fix the drift/rotation that comes from using pistons/rotors/hinges on flying grids?