{"id":31681322,"url":"https://github.com/romanslack/hlynr_unity_environment_v1","last_synced_at":"2025-10-08T07:48:14.875Z","repository":{"id":307006185,"uuid":"1028011036","full_name":"RomanSlack/Hlynr_Unity_Environment_V1","owner":"RomanSlack","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-28T23:57:51.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-29T00:13:39.405Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RomanSlack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-28T22:15:22.000Z","updated_at":"2025-07-28T23:57:54.000Z","dependencies_parsed_at":"2025-07-29T00:14:29.162Z","dependency_job_id":"a2d9678c-ae77-4075-b702-1ae697b8a4e6","html_url":"https://github.com/RomanSlack/Hlynr_Unity_Environment_V1","commit_stats":null,"previous_names":["romanslack/hlynr_unity_environment_v1"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/RomanSlack/Hlynr_Unity_Environment_V1","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RomanSlack%2FHlynr_Unity_Environment_V1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RomanSlack%2FHlynr_Unity_Environment_V1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RomanSlack%2FHlynr_Unity_Environment_V1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RomanSlack%2FHlynr_Unity_Environment_V1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RomanSlack","download_url":"https://codeload.github.com/RomanSlack/Hlynr_Unity_Environment_V1/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RomanSlack%2FHlynr_Unity_Environment_V1/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278909712,"owners_count":26066887,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-08T07:47:55.901Z","updated_at":"2025-10-08T07:48:14.869Z","avatar_url":"https://github.com/RomanSlack.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🚀 Hlynr Missile Intercept Simulator Scripts\n\n[![Unity](https://img.shields.io/badge/Unity-6.1+-000000.svg?logo=unity\u0026logoColor=white)](https://unity.com/)\n[![C#](https://img.shields.io/badge/C%23-239120?logo=c-sharp\u0026logoColor=white)](https://docs.microsoft.com/en-us/dotnet/csharp/)\n[![Physics](https://img.shields.io/badge/Physics-6DOF-blue)](https://en.wikipedia.org/wiki/Six_degrees_of_freedom)\n[![Guidance](https://img.shields.io/badge/Guidance-ProNav-green)](https://en.wikipedia.org/wiki/Proportional_navigation)\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"images/unity_shot_1.png\" alt=\"Hlynr Missile Intercept Simulator\" width=\"600\"/\u003e\n\u003c/div\u003e\n\nA comprehensive Unity-based missile intercept simulation system featuring realistic physics, guidance algorithms, and telemetry analysis.\n\n## Core System (`Core/`)\n\n### SimBootstrap.cs\nMain simulation controller providing:\n- Fixed timestep physics (0.01s default)\n- Pause/resume functionality (Space key)\n- Single-step simulation when paused (Right arrow)\n- Scene reset capability (R key)\n\n### FlyCamera.cs\nFree-flying camera system for scene navigation and observation.\n\n## Missile System (`Missile/`)\n\n### Missile6DOFController.cs\nSix degrees-of-freedom missile controller handling body-axis torques for pitch, yaw, and roll control with configurable maximum torque limits.\n\n### GuidanceProNav.cs\nProportional navigation guidance system implementing:\n- Line-of-sight (LOS) pursuit algorithms\n- Target acquisition and tracking\n- Angular velocity calculations for intercept trajectories\n- Integration with seeker sensor for target lock\n\n### PIDAttitudeController.cs\nPID-based attitude control system for precise missile orientation and rate command execution.\n\n### ThrustModel.cs\nRealistic rocket motor simulation featuring:\n- Thrust curve evaluation over burn time\n- Dynamic mass reduction as fuel is consumed\n- Configurable thrust axis alignment\n\n### ThrustCurve.cs \u0026 FuelSystem.cs\nSupporting systems for thrust profile management and fuel consumption modeling.\n\n### SeekerSensor.cs\nTarget detection and tracking sensor providing lock-on capabilities for guidance systems.\n\n### ProximityFuse.cs\nWarhead proximity detection system for intercept determination.\n\n### MissileLauncher.cs\nLaunch sequence management and initial velocity imparting system.\n\n## Entity Management (`Entities/`)\n\n### ThreatSpawner.cs\nAutomated threat generation system:\n- Configurable spawn intervals and positions\n- Linear spawn line between defined points\n- Global threat tracking for interceptor targeting\n\n### InterceptorSpawner.cs\nUser-controlled interceptor launch system:\n- Manual launch via 'I' key\n- Automatic target assignment to current threat\n- Integration with guidance and seeker systems\n\n### ThreatGuidance.cs\nAI guidance system for threat entities with configurable flight patterns.\n\n## User Interface (`UI/`)\n\n### MissileHUDController.cs\nReal-time missile telemetry display showing:\n- Current speed and fuel levels\n- Target lock status with visual indicators\n- Miss distance calculations\n- Integration with Unity's UI Toolkit\n\n### HitAlert.cs\nImpact notification and feedback system.\n\n## Analytics (`Analytics/`)\n\n### TelemetryLogger.cs\nComprehensive data logging system capturing:\n- Position and velocity vectors\n- Fuel consumption rates\n- Thrust output values\n- CSV export with configurable flush intervals\n- Automatic file naming with timestamps\n\n### ForceVisualizer.cs\nVisual debugging tool for force vector analysis and aerodynamic visualization.\n\n## Controls\n\n- **Space**: Pause/unpause simulation\n- **Right Arrow**: Step one physics tick when paused\n- **R**: Reset scene\n- **I**: Launch interceptor missile\n\n## Data Output\n\nThe system automatically generates telemetry logs in CSV format containing time-series data for missile position, velocity, fuel consumption, and thrust output. Files are saved to Unity's persistent data path with automatic timestamp naming.\n\n## Architecture\n\nThe system follows a modular component-based architecture where missiles are composed of multiple specialized components (guidance, control, propulsion, sensors) that work together to create realistic intercept scenarios. The simulation runs on a fixed timestep for deterministic physics calculations and supports real-time analysis through comprehensive telemetry logging.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fromanslack%2Fhlynr_unity_environment_v1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fromanslack%2Fhlynr_unity_environment_v1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fromanslack%2Fhlynr_unity_environment_v1/lists"}