Does anyone want to help me with some GeoNodes? I have a keyframed ball moving on a plane. I figure it should be possible to make the ball roll correctly using simulation nodes. In my mind, you compare the ball's location with its location on the previous frame, and that's the motion vector. The roll axis would be perpendicular to that and the floor.
I've figured out the first step. I compare the location with the previous one and get a motion vector. How do I translate that into the correct rotation?
Thanks in advance!

