I have being messing around with mecanim for a while now, and I have run into an issue that I can’t seem to solve through mecanim. The problem is that I have a simple 1d blend tree with an idle animation of 3 seconds and a walk cycle of 0.3. When I then transitions into an attack animation, the transition time is relative to the animation of the currently played blended animation from the blend tree. This in effect means that either the transitions is way to fast during movement, or the attack animation barely plays when attack from a stand still. Is there a way to make transitions a fixed time like 0.1 seconds instead of a percentage of the length of the starting animation?
No, it the way blend tree blend animation, if the normalizeTime is 0.5, you play all blended clip at 50% of their total time.
1d Blend tree should be used with synchronized motion(clip length should be similar) otherwise depending on the blend factor the length of the blended animation will change. Since the length of your animation is too different I would split your blend tree in two state: idle and attack.
1 Like