You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vessel.SetRotation(Quaternion.FromToRotation(Vessel.GetTransform().up,AutopilotTargetDirection())*Vessel.transform.rotation,false);// false seems to fix the "infinite roll bug"
Vessel.SetRotation(Quaternion.AngleAxis(angularVelocity.magnitude*TimeWarp.CurrentRate,Vessel.ReferenceTransform.rotation*angularVelocity)*Vessel.transform.rotation,false);// false seems to fix the "infinite roll bug"
Copy file name to clipboardExpand all lines: README.md
+3-5Lines changed: 3 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,21 +57,19 @@ So public domain, feel free to do anything, especially updating this plugin if I
57
57
## Changelog and bugs
58
58
59
59
#### Known bugs and glitches
60
-
- The reaction wheels nerf cause the SAS to overshoot when trying to stabilize roll. This is problematic for large vessels and may cause them to roll back and forth forever, I'm working on this.
60
+
- The reaction wheels nerf cause the SAS to overshoot when trying to stabilize roll. This is problematic for large vessels and may cause them to roll back and forth forever. Should be a lot better if not fixed in 1.1
61
61
- When switching to an unloaded vessel with its SAS in "target", "antitarget" or "maneuver" mode, the orientation change is applied a few frames after the vessel is unpacked, leading to the rotation event being visible to the player. Won't fix as this is minor, purely cosmetic and fixing would require massive modifications.
62
62
63
63
#### v1.1 for KSP 1.2.2
64
-
- (bugfix) Removed reaction wheels roll torque being nerfed by angular velocity to prevent SAS perpetual overshooting.
64
+
- (bugfix) Fixed SAS orientation being applied when not reached on initiating timewarp (woops)
65
+
- (bugfix) Tweaked a few things to prevent the perpetual SAS roll overshoot.
65
66
66
67
#### v1.0 for KSP 1.2.2
67
68
- (feature) The torque output from reaction wheels is now affected by the vessel angular velocity : the torque output decrease when the angular velocity increase, down to a minimum of 5% when the angular velocity reach 45° / second.
68
69
- (bugfix) Fixed reaction wheels providing a bit of torque when switching SAS from stability assist mode to a target hold mode after loading a vessel (fixed by forcing module desactivation every fixedupdate)
69
70
- (bugfix) Fixed SAS overshooting its target when using RCS (Fixed by explicitly setting reaction wheels torque to 0 when the module is disabled)
70
71
- (bugfix) Irrelevant reaction wheels action groups options are now hidden
0 commit comments