Continued Target -> Threat refactor

more-targets
Daniel Lovell 2024-09-24 19:38:17 -07:00
parent 17af733afb
commit bbb2dba1ed
11 changed files with 6 additions and 3 deletions

View File

@ -321,8 +321,11 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
_flightPhase: 0 _flightPhase: 0
_velocity: {x: 0, y: 0, z: 0}
_acceleration: {x: 0, y: 0, z: 0}
_dragAcceleration: {x: 0, y: 0, z: 0}
_target: {fileID: 0} _target: {fileID: 0}
staticConfigFile: drone_target.json staticConfigFile: drone.json
--- !u!54 &4451965530778273955 --- !u!54 &4451965530778273955
Rigidbody: Rigidbody:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0

View File

@ -14,7 +14,7 @@ The main configuration files you will work with are located in the `Assets/Strea
- **Model Configurations** (found in `Assets/StreamingAssets/Configs/Models/`): - **Model Configurations** (found in `Assets/StreamingAssets/Configs/Models/`):
- **`micromissile.json`** - **`micromissile.json`**
- **`hydra70.json`** - **`hydra70.json`**
- **`drone_target.json`** - **`drone.json`**
- **C# Script**: [`StaticConfig.cs`](Assets/Scripts/Config/StaticConfig.cs) - **C# Script**: [`StaticConfig.cs`](Assets/Scripts/Config/StaticConfig.cs)
### File Locations ### File Locations
@ -202,7 +202,7 @@ The `Models` directory contains the following default model configurations:
- **`micromissile.json`** - **`micromissile.json`**
- **`hydra70.json`** - **`hydra70.json`**
- **`drone_target.json`** - **`drone.json`**
These JSON files serve as templates and can be tweaked to modify the behavior of the corresponding models. These JSON files serve as templates and can be tweaked to modify the behavior of the corresponding models.