When using custom “Blend Logic” in the state machine, is there some way how to control the Blend Duration from the Blend Graph itself?
For example, let’s say I use custom transition animation for the blend and I would like the Blend Duration to match the animation duration. Something along the line “get animation duration, then send it to Blend Duration time” in the transition would be very useful.
Maintaining correct blend times for animations which can change slightly during the project could be tedious and error prone.
thanks but maybe you misunderstood my question or I wasn’t clear enough because I’m already using “Custom” blend logic and I’m asking for a way to control it’s duration from within the custom blend graph.
However, it looks like this could be possible with a heavy workaround only. You would need an extra float variable only for this transition and change it over time based on some logic in your anim event graph.
This could be especially tricky if you would want to change the animation.
For this reason I created a AnimDataComponent for my characters which holds AnimSequences Data for all of my needed animation. Then I supply my animation graph with this anim data and have a more swapable state machine.
Hope it helps. How are you currently working around it?