Skip to content

Commit

Permalink
Merge branch 'master' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellovell committed Sep 28, 2024
2 parents 3d472c1 + f15ab47 commit e77f6b5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Scripts/Interceptor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ protected Vector3 CalculateAcceleration(Vector3 accelerationInput,
}

float airDrag = CalculateDrag();
float liftInducedDrag = CalculateLiftInducedDrag(accelerationInput);
float liftInducedDrag = CalculateLiftInducedDrag(accelerationInput + gravity);
float dragAcceleration = -(airDrag + liftInducedDrag);

// Project the drag acceleration onto the forward direction
Expand Down
12 changes: 12 additions & 0 deletions docs/Simulation_Logging.md
Original file line number Diff line number Diff line change
@@ -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\<user>\AppData\LocalLow\BAMLAB\micromissiles\Telemetry`.

On MacOS, the logs will be exported to
`~/Library/Application Support/BAMLAB/micromissiles/Telemetry`.



0 comments on commit e77f6b5

Please sign in to comment.