Should AnimTransitionTime or SetAnimTransitionTime work for smoothing animations between different animation channels of a 3D actor?
What I'm trying to do is playing a simple head-movement animation, from time to time, while the idle animation is playing. Since the idle animation plays on channel 0, I play the head-movement animation on channel 1 so that the two animations play together:
Actor.PlayAnimChannelAsync(1, "HeadMovement")
Now although it works pretty well (the actor moves its head while still playing the idle animation), there is still one problem. When the head-movement animation ends, the head snaps back to its position on the idle animation, which may be different than the end position of the head-movement animation. The result effect is that sometimes (depending on when during the idle animation the head-movement animation started) the actor's head jerks when the head-movement animation ends and it looks very unnatural (for a healthy person at least
).
Am I doing something wrong here?
How should the head move back to its position in the idle animation after playing its own specialized short animation?