{"id":14960552,"url":"https://github.com/karth42/simplekeplerorbits","last_synced_at":"2025-07-10T20:09:23.657Z","repository":{"id":51027645,"uuid":"100124770","full_name":"Karth42/SimpleKeplerOrbits","owner":"Karth42","description":"Unity3d static 2-body orbits simulation","archived":false,"fork":false,"pushed_at":"2022-02-05T16:05:34.000Z","size":6215,"stargazers_count":103,"open_issues_count":1,"forks_count":12,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-25T13:48:46.548Z","etag":null,"topics":["celestial","gravity","kepler","orbit","orbital-mechanics","orbits","simulation","space","space-game","space-physics","unity","unity3d","unity3d-plugin"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Karth42.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-12T16:36:06.000Z","updated_at":"2025-04-02T09:31:37.000Z","dependencies_parsed_at":"2022-09-13T04:02:19.316Z","dependency_job_id":null,"html_url":"https://github.com/Karth42/SimpleKeplerOrbits","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Karth42%2FSimpleKeplerOrbits","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Karth42%2FSimpleKeplerOrbits/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Karth42%2FSimpleKeplerOrbits/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Karth42%2FSimpleKeplerOrbits/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Karth42","download_url":"https://codeload.github.com/Karth42/SimpleKeplerOrbits/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252038182,"owners_count":21684643,"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","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":["celestial","gravity","kepler","orbit","orbital-mechanics","orbits","simulation","space","space-game","space-physics","unity","unity3d","unity3d-plugin"],"created_at":"2024-09-24T13:22:30.540Z","updated_at":"2025-05-02T12:31:38.567Z","avatar_url":"https://github.com/Karth42.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SimpleKeplerOrbits\n\n![gif](https://i.imgur.com/0dhq9kL.gif)\n\n## Description\n\nUnity3d project for simulating simple orbits using 2-body solution model.\n\n## Importing\n\nThis repository contains the entire Unity Project for basic demo setup.\nThere are several ways to import the project:\n- Manually copy all files from Asset directory to your unity project directory;\n- Import asset store package;\n- Import of the 'src' branch as [embedded package](https://docs.unity3d.com/Manual/CustomPackages.html#EmbedMe).\n\n## Usage\n\nThis plugin has the ability to customize orbits using the editor inspector and scripts.\nSome scripting usage examples:\n\n#### Initializing orbit from orbit elements (JPL database supported)\n```cs\n\tvar body = GetComponent\u003cKeplerOrbitMover\u003e();\n\tbody.AttractorSettings.AttractorObject = attractorTransform;\n\tbody.AttractorSettings.AttractorMass = attractorMass;\n\tbody.AttractorSettings.GravityConstant = GConstant;\n\tbody.OrbitData = new KeplerOrbitData(\n\t\teccentricity: eValue,\n\t\tsemiMajorAxis: aValue,\n\t\tmeanAnomalyDeg: mValue,\n\t\tinclinationDeg: inValue,\n\t\targOfPerifocus: wValue,\n\t\tascendingNodeDeg: omValue,\n\t\tattractorMass: attractorMass,\n\t\tgConst: GConstant);\n\tbody.ForceUpdateViewFromInternalState();\n```\n\n#### Initializing orbit from orbit vectors\n```cs\n\tvar body = GetComponent\u003cKeplerOrbitMover\u003e();\n\tbody.AttractorSettings.AttractorObject = attractorTransform;\n\tbody.AttractorSettings.AttractorMass = attractorMass;\n\tbody.AttractorSettings.GravityConstant = GConstant;\n\tbody.OrbitData = new KeplerOrbitData(\n\t\tposition: bodyPosition, \n\t\tvelocity: bodyVelocity, \n\t\tattractorMass: attractorMass, \n\t\tgConst: GConstant);\n\tbody.ForceUpdateViewFromInternalState();\n```\n\nFor more detailed scripting snippets go to the [included manual](Assets/SimpleKeplerOrbits/Readme.md).\n\n## Contributing\n\nThis repository is closed for contributions.\n\n## Published version\n\n[Unity Asset Store]\n\n[Unity Asset Store]: https://assetstore.unity.com/packages/tools/physics/simple-kepler-orbits-97048\n## License\n\n[MIT](LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarth42%2Fsimplekeplerorbits","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkarth42%2Fsimplekeplerorbits","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarth42%2Fsimplekeplerorbits/lists"}