- Introduced new constants for missile control: `DISTANCE_BEFORE_ROTATING` and `ROTATION_SPEED`. - Expanded `State` enum to include `TURNING` and `ACCELERATING`. - Added variables for tracking missile position, speed, and acceleration. - Implemented logic for initializing backward thruster and gyroscope. - Added `CheckEnemies` method to switch to AI mode upon enemy detection. - Introduced `Detonate` method for centralized warhead detonation logic. - Updated `DistanceFromLaunch` property for accurate distance calculation. |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| MissileController.csproj | ||
| MissileController.mdk.ini | ||
| MissileController.mdk.local.ini | ||
| packages.config | ||
| Program.cs | ||
| thumb.png | ||