Using animations from variables in Anim BP?
I would like to have a set of animations (montages and blendspaces) that would control my character. Instead of hardcoding animations in animBP, I'm hoping to use animations from variables. However I have not had luck yet. I would love to use animBP as it contains very powerful tools for blending animations.
Lower body animations (idle/walk/run and crouching) stored in 2 properties of the character
Other animations would be set for upper body into each item available in game.
For example when I try to pull the lower body blendspace into animBP it doesn't seem to understand it at all. See the screenshot.
So what to do..? Should I just give up and accept my fate that I can't have animations dynamically from variables/properties?
asked Feb 08 '15 at 01:47 PM in Blueprint Scripting
Found a solution to this. You can grab a blendspace into anim graph and the from its properties you can show the blendspace as a input which you can pin the input you want. Cheers!
answered Mar 15 '15 at 08:21 PM
answered Mar 03 '18 at 01:01 AM
Actually I think it's possible. According to your screenshot, I think you should cast your character blueprint in the event graph instead of the anim graph.
For my game, I use the EventGraph from the animBP to get all the variables and let the AnimGraph uses it. For example, I use the EventGraph to get 2 variables (forward and side), and then use those 2 variables in the AnimGraph.
I don't think I can explain it as well as the video, so I really recommend watching it.
answered Feb 19 '15 at 11:31 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here