Hello there,
I’m failing to find out if there is an elegant way to smoothen the following animation, where I believe I need to limit the step size of input from a driver per frame.
I took Susanne to the beach and with the help of GN nodes, she learned to float on the surface (shout out to LordofTheFleas). However, I would like to be able to control how precisely she tilts and swings following the normals of the water surface. At the moment, I can decrease the factor for Align Euler to Rotation (where the Vector is the Normals of the water faces) but that doesn’t do the job exactly. What I think woudl work best is to limit the maximum step in rotation between frames to smoothen the behaviour.
I was thinking this could be achieved by for example multiplying the vector numbers by X, then rounding it to an int, then dividing it by X again (or if there is a way to truncate numbers and their digits, this could do a bit too) and then eventually using a range node and a switch to limit the step size. But this seems to be a workaround that might not work well with rotation, Euler etc and I’m not really a math head unfortunately.
Here is the project test file: https://www.dropbox.com/s/br2z6ipc24g4duk/ocean_test01-BA-q01.blend?dl=0