{"id":13661665,"url":"https://github.com/WSWhitehouse/Unity-Gravity-System","last_synced_at":"2025-04-25T03:30:46.825Z","repository":{"id":54975650,"uuid":"195139416","full_name":"WSWhitehouse/Unity-Gravity-System","owner":"WSWhitehouse","description":"Unity Gravity System - Super Mario Galaxy style planet and directional gravity!","archived":false,"fork":false,"pushed_at":"2019-08-25T18:09:37.000Z","size":27356,"stargazers_count":41,"open_issues_count":1,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-10T16:45:52.469Z","etag":null,"topics":["gravity","gravity-simulation","gravity-source","mario-galaxy","physics","unity","unity-gravity","unity3d"],"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/WSWhitehouse.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":"2019-07-03T23:36:58.000Z","updated_at":"2024-10-18T18:36:16.000Z","dependencies_parsed_at":"2022-08-14T08:00:17.159Z","dependency_job_id":null,"html_url":"https://github.com/WSWhitehouse/Unity-Gravity-System","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/WSWhitehouse%2FUnity-Gravity-System","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WSWhitehouse%2FUnity-Gravity-System/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WSWhitehouse%2FUnity-Gravity-System/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WSWhitehouse%2FUnity-Gravity-System/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WSWhitehouse","download_url":"https://codeload.github.com/WSWhitehouse/Unity-Gravity-System/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250747673,"owners_count":21480691,"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":["gravity","gravity-simulation","gravity-source","mario-galaxy","physics","unity","unity-gravity","unity3d"],"created_at":"2024-08-02T05:01:39.099Z","updated_at":"2025-04-25T03:30:45.658Z","avatar_url":"https://github.com/WSWhitehouse.png","language":"C#","funding_links":[],"categories":["C\\#"],"sub_categories":[],"readme":"# Unity Gravity System\n \n Unity Gravity System  - Super Mario Galaxy style planet and directional gravity!\n \n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://i.gyazo.com/bc64b11dd1f73dc6bbb21a188de3cbca.gif\" alt=\"Planet Gravity 3D\"\u003e\n\u003cimg src=\"https://i.gyazo.com/01b626b39834fd9a179a48c067901fcd.gif\" alt=\"Directional Gravity 3D\"\u003e\n\u003cimg src=\"https://i.gyazo.com/ac2345c1cbb311ddbf6dfe97b19084d8.gif\" alt=\"Planet Gravity 2D\"\u003e\n\u003c/p\u003e\n\n## Releases\nFor releases check the [releases on this repository](https://github.com/WSWhitehouse/Unity-Gravity-System/releases), for the latest release [click here](https://github.com/WSWhitehouse/Unity-Gravity-System/releases/latest)!\n\n## Getting Started\n\nThese instructions will get you a copy of the project up and running on your local machine for development and testing purposes.\n\n### Prerequisites\n\n- Unity 2018+ *Should be compatible with older versions*\n\n### Installing\n\nRead [INSTALLING.md](INSTALLING.md) for installing instructions.\n\n## Known Issues\n1. \u003cs\u003eIf there are more than one gravity source at a time, the item might remove a current gravity source and not be affected.\u003c/s\u003e - *Fixed in v1.1.0*\n2. \u003cs\u003eChange `OnTriggerEnter()` to `OnTriggerStay()` so it can update the gravity source.\u003c/s\u003e - *Fixed in v1.1.0*\n3. \u003cs\u003eMake the `CurrentGravitySource` a List so the item can be affected by multiple gravity sources at once, by calculating gravity strength and distance to gravity source.\u003c/s\u003e - *Fixed in v2.0.0*\n\n## To Do\n - \u003cs\u003eCreate a 2D version\u003c/s\u003e - *Completed in v1.0.0*\n - \u003cs\u003eAllow Gravity Items to be affected by multiple gravity sources\u003c/s\u003e - *Completed in v2.0.0*\n - \u003cs\u003eAdd Rotate To Ground, where an item will always face upwards.\u003c/s\u003e - *Completed in v2.1.0*\n - \u003cs\u003eAdd Enable Gravity boolean that will enable and disable a Gravity Source\u003c/s\u003e - *Completed in v2.2.0*\n - Create detailed documentation - *No estimated release*\n\n## Built With\n\n- [Unity 3D](https://unity.com/)\n- [JetBrains Rider](https://www.jetbrains.com/rider/) - The IDE used to code the tools\n\n## Versioning\n\nWe use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/WSWhitehouse/Unity-Gravity-System/tags). \n\n## Authors \u0026 Contributors\n\n- **David Evans** - [*Initial work*](https://gist.github.com/phosphoer/a283cdbeca5d2160d5eed318d0362826) - [Phosphoer](https://github.com/phosphoer)\n- **William Whitehouse** - *Examples, install instructions, bug fixes, code improvements/additions \u0026 2D version* - [WSWhitehouse](https://github.com/WSWhitehouse)\n\n## Acknowledgments\n\n- [**Bayat Games**](https://assetstore.unity.com/publishers/26641) - [*Free 2D Game Assets used for 2D example*](https://assetstore.unity.com/packages/2d/environments/free-platform-game-assets-85838)\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FWSWhitehouse%2FUnity-Gravity-System","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FWSWhitehouse%2FUnity-Gravity-System","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FWSWhitehouse%2FUnity-Gravity-System/lists"}