Skip to content

Steering null retune 1#2820

Merged
Dunbaratu merged 8 commits intoKSP-KOS:developfrom
Dunbaratu:steering_null_retune_1
Dec 9, 2020
Merged

Steering null retune 1#2820
Dunbaratu merged 8 commits intoKSP-KOS:developfrom
Dunbaratu:steering_null_retune_1

Conversation

@Dunbaratu
Copy link
Member

Fixes #2814 - had to make our own homemade replacement for GetPotentialTorque() in the case of RCS parts because the stock one is so very broken.

This starts from work other KSP modders did who also realized the stock ModuleRCS.GetPotentialTorque() is so wrong as to be impossible to just 'patch up', and wrote their own.

Also did a better job dealing with negative torque vectors,
but the big fix is that a typo led to valid syntax that was
making it skip the zero-th RCS thruster in every RCS part.
When I made my own homemade ModuleReactionWheel torque
calc (to add the check for authority limiter slider),
doing so ended up removing the stock check to see if the
wheel is disabled altogether.  This puts that check back.
@Dunbaratu Dunbaratu added bug Weird outcome is probably not what the mod programmer expected. enhancement Something new (not a bug fix) is being requested labels Dec 9, 2020
@Dunbaratu Dunbaratu merged commit 070a9da into KSP-KOS:develop Dec 9, 2020
@Dunbaratu
Copy link
Member Author

This should have also closed issue #2807 about torque wheel slider being ignored. The homemade GetPotentialTorque() handles this as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Weird outcome is probably not what the mod programmer expected. enhancement Something new (not a bug fix) is being requested

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SteeringManager is confused about RCS because API call GetPotentialTorque() is wonky

1 participant