diff --git a/Assets/Scripts/Interceptor.cs b/Assets/Scripts/Interceptor.cs index cffcf84..71ba687 100644 --- a/Assets/Scripts/Interceptor.cs +++ b/Assets/Scripts/Interceptor.cs @@ -62,7 +62,7 @@ public class Interceptor : Agent { } float airDrag = CalculateDrag(); - float liftInducedDrag = CalculateLiftInducedDrag(accelerationInput); + float liftInducedDrag = CalculateLiftInducedDrag(accelerationInput + gravity); float dragAcceleration = -(airDrag + liftInducedDrag); // Project the drag acceleration onto the forward direction