A very basic particle gravity simulation in Unity. Particles have a velocity and mass, allowing them to orbit and interact with each other. Particles do not collide due to poor code not playing very nicely with collision systems.
nice! i did a similar thing on GPU with OpenGL compute shaders. no collision detection, but collision was definitely an emergent property that sort of just came out of nowhere due to gravity between particles and also having many many particles lol.
ThatJay wrote (edited )
nice! i did a similar thing on GPU with OpenGL compute shaders. no collision detection, but collision was definitely an emergent property that sort of just came out of nowhere due to gravity between particles and also having many many particles lol.