4

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.

enter image description here

enter image description here

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.

enter image description here

Any help is appreciated.

https://drive.google.com/file/d/1ql4uhv56mDo9Zoi90qtU5dlxss1dwinw/view?usp=sharing

quellenform
  • 35,177
  • 10
  • 50
  • 133
JB Riley
  • 791
  • 3
  • 9

1 Answers1

4

Please note: This solution is more of a Geometry Nodes trick.

If you want to solve it solidly, I would rather recommend Animation Nodes, Physics or other approaches.

If you really absolutely and inevitably want to use geometry nodes for this by hook or by crook under all conceivable circumstances, you can abuse the following setup:

Using a value for the feed per frame, calculate the arc length of the cylinder and let it rotate according to the current feed.

If you are really funny, you can also add an inertia after the box has passed a cylinder.

Something like this:

enter image description here

Here is the node group:

enter image description here

And here is the blend file:


(Blender 3.1+)

quellenform
  • 35,177
  • 10
  • 50
  • 133