Hello
I’ve made a snake, or more like a snail, creature. It bends its body vertically when it moves similar to how a snake wiggles but just on another axis. I’ve set it up as SDK with an attribute (a float but it could be an integer I guess) that performs “one bend” so to speak. I can move the animal forward and then key the attribute to perform the bend and relax part.
My question is how to make an expression to do this automatically, similar to how you would make a wheel roll when translating. I’m new to creating attributes and can’t really figure out how it would work.
I understand that somehow I would have to decide that for “each X units of translation” the bend should happen and then relax.
I would really appreciate any help I can get.
Cheers,
Sibben
