Skip to content

Commit 4eb5149

Browse files
committed
Only apply useThrottle if not applying RCS axial thrust.
1 parent 4880ba4 commit 4eb5149

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

0 Bytes
Binary file not shown.

Source/ModuleRCSFX.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ public override void OnStart(StartState state)
158158
return;
159159

160160
float ctrlZ = vessel.ctrlState.Z;
161-
if (useThrottle)
161+
if (useThrottle && ctrlZ < EPSILON && ctrlZ > -EPSILON) // only do this if not specifying axial thrust.
162162
{
163163
ctrlZ -= vessel.ctrlState.mainThrottle;
164164
ctrlZ = Mathf.Clamp(ctrlZ, -1f, 1f);

0 commit comments

Comments
 (0)