Hello, i have a state machine with the idle State. That idle state has a Blend Poses node that switches an enum variable i have telling the current weapon i have, so it plays the correct idle animation for the current weapon. When i want to crouch i have 2 intermediary states (Idle to Crouch and Crouch to Idle) that also have that Blend Poses node to play the right animation for the current weapon. My problem is that on the transition from “Idle to Crouch” to “Crouch Idle” and “Crouch to Idle” to “Idle” i want to be able to know what animation was selected in the switch so i can use Time Remaining on it, but all i can find are hardcoded animations in the search. Can i use a switch inside a transition rule?
I was able to solve this by adding a OR between the multiple possible animations like:
TimeRemaning(Anim1) < 0.1 OR TimeRemaning(Anim2) < 0.1 OR TimeRemaning(Anim3) < 0.1