Final example with more complex collisions!
Check the blog for the full explanation: https://www.artstation.com/alunagarvin/blog/qynZd/substance-designer-physics-simulator
This started just as a proof of concept of what is possible to do with the pixel processor and data management, and to complete this I had to come up with some clever solutions to many different problems, it has been the most instructive practice I've ever made in Substance Designer and I encourage anyone with a basic knowledge in Vectors to do their own implementation of this topic, you will surprise yourself of what you can achieve!