We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c88603 commit 38a82c9Copy full SHA for 38a82c9
RasterPropMonitor/Core/RPMVCEvaluators.cs
@@ -277,7 +277,7 @@ internal double FallbackEvaluateTerminalVelocity()
277
Vector3 force = pureDragV + pureLiftV;
278
double drag = Vector3.Dot(force, -vessel.srf_velocity.normalized);
279
280
- return Math.Sqrt(localGeeDirect / drag) * vessel.srfSpeed;
+ return drag > 0 ? Math.Sqrt(localGeeDirect / drag) * vessel.srfSpeed : 0.0;
281
}
282
283
/// <summary>
0 commit comments