Unity Gravity System
Unity Gravity System - Super Mario Galaxy style planet and directional gravity!
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Unity 2018+ Should be compatible with older versions
Read INSTALLING.md for installing instructions.
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 Change- Fixed in v1.1.0
OnTriggerStay()so it can update the gravity source.
Make the- Fixed in v2.0.0
CurrentGravitySourcea List so the item can be affected by multiple gravity sources at once, by calculating gravity strength and distance to gravity source.
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
Authors & Contributors
- David Evans - Initial work - Phosphoer
- William Whitehouse - Examples, install instructions, bug fixes, code improvements/additions & 2D version - WSWhitehouse
This project is licensed under the MIT License - see the LICENSE.md file for details