New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request: PersistentRotation mod support #589
Comments
I think it would be nice too! SAS and Mechjeb are probably mutually exclusive. |
Actually I don't think that would work as a fix. Mechjeb can't completely zero any craft's rotation due to KSP's rounding issues, so no matter how long it tries to wait to orient the craft correctly it'll still have some minuscule amount of rotation. That doesn't happen when warping using SAS under this plugin because, as far as I can tell, activating SAS tells Persistent Rotation to treat the craft's rotation as zero through the warp, whereas Smart A.S.S. isn't keyed to do the same. To fix this you'd either need to have Mechjeb "spoof" SAS as being on whenever it uses it's own Smart A.S.S. or PersistentRotation itself would have to somehow know whenever Mechjeb is holding a position. |
I succeeded with this straightforward way: First, I added an if in the SetFlightCtrlState method in MechJebModuleAttitudeController.cs
Then, I added a new method to MechJebModuleWarpController.cs
And replaced |
It would be nice if MechJeb was compatible with MarcusA380’s PersistentRotation plugin.
My guess is that turning on SAS during autowarp will fix the issue. I can be wrong though.
The text was updated successfully, but these errors were encountered: