My character’s left, right, forward, and back animations work perfectly but when i try to do diagonal dodge animations, nothing happens. Additionally, just tilting the left thumbstick in any of the directions wont do any animation. Any way i can work around or fix this?
If you go diagonally, I guess you’ll reach 0.5 forward and 0.5 right, so none of your conditions will be triggered.
There’s a node “get last input vector” that you get from player controller and you can use with “launch character” node. Doing that, you won’t need all those branches.
Get last input vector, get vector times float, set float as 100, and connect to launch character, assuming your animations are not root motion enabled. You’ll need a special code to trigger the proper dodge animation depending on the input vector direction.
The stuttering happens because you are constantly calling launch character. Ideally, dodge animation montages should be called with an additional input action besides the forwards/right axis input.
You want to dodge (montage + launch character) or strafe ( walk sideways)?
Ok i think i understand. I took the launch character and the connections and placed it into the dodge animation macro instead of the BP event graph and it seems to be working correctly.