Hello, I will answer from an editor point of view, maybe my colleagues have code suggestions.
The fact that physics are pretty much doing everything on their own automatically is usually pretty awesome but indeed it can get in our way when the movement or pose change from one animation to another is too sudden or too great in difference.
The closer a pose is to another, the smoother the transition will be. While if the distance is greater, a longer mix from one animation to the next may help.
If you need to suddently transition from a pose to another and see it nicely in the editor, I think there are 3 possible ways to have it be less jumpy:
- Bring the initial/ending poses of your animation to be closer or more similar to minimize jumps.
- Increase the mix and do so also at runtime so that the phisics have more time to catch up and follow along.
- Create brand new transition animations where you copy the last pose from one animation and the first pose of the next, so that you can control better the transition, maybe keying some physics properties to have them just right for your use case.