Genete wrote:Suggestion: carterpilar legs don't move all synchronized, they move making "waves" of steps groups that move from front to back.
Yeah, I have to make it more believable. Therefore, I should work more on the rigging, because those motions should be easy to automate with bones. Perhaps I should whip up a layer script to help me. For instance, offset the movement of the next leg by one frame.
The other problem that I'm having is that if you add branches to a bone, inverse kinematics doesn't work anymore for any child bones down the bone chain. This means I have to use separate bones for the legs and bind them to the segment bones with a layer script, so I get IK working again.
Both properties have to be in the same layer script, and I must use a workaround, because it is not yet possible to retrieve bone names directly with a script. I have to get the bone names from the Moho file itself. Ah well, it never hurts to experiment and share my findings with others.
Edit: Oops, no workaround needed, because bone names can be retrieved and set through
bone:Name() and
bone:SetName(). I had that
dynamic shape script stuck in my mind.