First picture a cube animated to be moving in the y direction. As it moves, it passes over conveyor rollers. Each roller then begins rotating because of the contact forces.
I am trying to animate this phenomenon using geometry nodes, mostly because the instances created are easy on memory usage. I stumbled on something that gives me hope, but it needs serious tweaking.
The rollers do rotate when the empty passes the vertices, which is awesome, but they rotate to an unspecified position - rather than begin rotating on their Z axis.
I have changed the object to a box for this demonstration, in the actual animation it will be an infinitely long piece of aluminum, so there will be no rollers 'behind' the object. So the solution doesn't have to have rollers stop rolling after the box has stopped touching them.
Any help is appreciated.
https://drive.google.com/file/d/1ql4uhv56mDo9Zoi90qtU5dlxss1dwinw/view?usp=sharing