GetNaturalGravity programmable block call slightly wrong

jlp0 shared this bug 2 months ago
Considered

I've been working with programmable blocks and doing some debugging, as it trurns out when retrieving the natural gravity from a programmable block, the calculation (MyGravityProviderSystem.CalculateNaturalGravityInPoint) is done with the cockpits position, whereas in other places in the codebase its calculated with the center of gravity's position.


this is a slight inconsistency which would be nice to fix :)

Comments (2)

photo
1

Hello, Engineer!


Thank you for your feedback! Your topic has been added between considered issues.

Please keep voting for the issue as it will help us to identify the most serious bugs.


We really appreciate your patience.


Kind Regards

Keen Software House: QA Department

photo
1

After thinking a bit more about it, the getNaturalGravity method should really be returning the Physics.Gravity property, as that is what really matters

photo