Unity Gravity System by WSWhitehouse - 6

Physics

Unity Gravity System - Super Mario Galaxy style planet and directional gravity!

Unknown VersionMIT LicenseUpdated 1 year agoCreated on July 3rd, 2019
Go to source

Unity Gravity System

Unity Gravity System - Super Mario Galaxy style planet and directional gravity!

Planet Gravity 3D Directional Gravity 3D Planet Gravity 2D

Releases

For releases check the releases on this repository, for the latest release click here!

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • Unity 2018+ Should be compatible with older versions

Installing

Read INSTALLING.md for installing instructions.

Known Issues

  1. If there are more than one gravity source at a time, the item might remove a current gravity source and not be affected. - Fixed in v1.1.0
  2. Change OnTriggerEnter() to OnTriggerStay() so it can update the gravity source. - Fixed in v1.1.0
  3. Make 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. - Fixed in v2.0.0

To Do

  • Create a 2D version - Completed in v1.0.0
  • Allow Gravity Items to be affected by multiple gravity sources - Completed in v2.0.0
  • Add Rotate To Ground, where an item will always face upwards. - Completed in v2.1.0
  • Add Enable Gravity boolean that will enable and disable a Gravity Source - Completed in v2.2.0
  • Create detailed documentation - No estimated release

Built With

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors & Contributors

Acknowledgments

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Show all projects by WSWhitehouse