Unity3D - Experimenting With Gravity

Channel:
Subscribers:
556
Published on ● Video Link: https://www.youtube.com/watch?v=hRVyPuFYz2Y



Duration: 9:04
1,377 views
9


Messing around in Unity again. Here are 100 asteroids each weighing 500 kilograms placed randomly within a 100 meter radius area. Using realistic gravitational values you can see the clumping action of their mutual gravity. Gravitational forces are calculated for every asteroid against all other asteroids each frame using nothing but raw single threaded CPU power. Perhaps I will improve the simulation by using multi-threading or possibly GPU processing to increase the number of asteroids that can be simulated at one time. The processing needed to simulate gravitational forces goes up exponentially as more asteroids are added to the simulation.
http://unity3d.com/unity