Playing With Gravity

Playing With Gravity is an easy-to-use tool for anyone to get different types of gravity in your game. Playing With Gravity supports both 2D and 3D gravity, and a variety of gravity shapes. The physics are optimized C# code, and the source code is included and easily extensible. This package is compatible with all platforms.

Supported 2D shapes:

  • Rectangle
  • Circle
  • Edge

Supported 3D shapes:

  • Cube
  • Sphere
  • Plane

Simply attach a Gravity Source shape to any object, set its gravity, adjust its size, and then attach a Gravity Receiver to any objects you want affected (or combine both) to get fun results! There is also a Rotate Towards Gravity script that will easily rotate an object to “stand” in the proper direction of gravity.

There are demo scenes with 2D and 3D examples, drag and drop prefabs, documentation, and source code is included in the package. Support is available either via e-mail or the forums.

Check out the demo!
Live documentation is available here.

Buy on the Unity Asset Store