Gravity and Magnets
A Trillion Games Ltd
$7.69
$10.99
30%OFF
(no ratings)
Date |
Price |
---|---|
日時 |
価格($) |
03/09(2021) |
10.99 |
03/16(2021) |
7.69 |
11/25(2024) |
7.69 |
Jump AssetStore
This package adds circular gravity and magnetism to unity
(It does not account for north and south pole for the magnets)
This package has 2d and 3d scripts for gravity and magnets. All the scripts are easily customisable for whatever you may need.
All you need to do is move the script onto the objects that will be affected by the forces.
All the scripts have 2 modes; realistic mode and normal mode. They simply toggle more realistic physics at the cost of some performance but they all remain very efficient. The more realistic physics means that the forces of attraction will consider the object as a whole rather than just applying forces to the centres of mass. This means that for larger objects only the closest points of the object may be affected while the rest have a negligible force applied. While the normal physics treats all objects as almost particles but is more efficient
This package tries to simulate all these forces as close to real life as possible while also trying to keep it as efficient as possible; so it won't work as a tool to run real astrophysics physics simulations as it follows slightly altered laws of physics to make it more efficient. But it tries to be as close as possible so it should work just fine for everything else. (Within reason)
Here there is a demo scene as well as other projects for you to test to see if this is what you want: https://www.atrilliongames.com/WebPortfolio