Space Engineers

Space Engineers

Ikke nok vurderinger
Connected Ships Center of Mass Exposer (For PB)
   
Pris
Føj til foretrukne
Gjort til foretrukken
Fjern som foretrukken
Type: Mod
Mod category: Script
Filstørrelse:
Offentliggjort:
Opdateret:
32.009 KB
5. mar. 2022 kl. 6:15
5. mar. 2022 kl. 6:50
3 ændringsbemærkninger ( vis )

Abonner for at downloade
Connected Ships Center of Mass Exposer (For PB)

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