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 diff --git a/docs/Simulation_Logging.md b/docs/Simulation_Logging.md new file mode 100644 index 0000000..ed07254 --- /dev/null +++ b/docs/Simulation_Logging.md @@ -0,0 +1,12 @@ +# Simulation Logging + +Logs are exported to the `Telemetry/Logs` folder in your operating system's [persistent data path](https://docs.unity3d.com/ScriptReference/Application-persistentDataPath.html). + +For example, on Windows, the logs will be exported to +`C:\Users\\AppData\LocalLow\BAMLAB\micromissiles\Telemetry`. + +On MacOS, the logs will be exported to +`~/Library/Application Support/BAMLAB/micromissiles/Telemetry`. + + +