FlowCanvas Forums › Support › How to set up animation
Hi guys,
I bought FlowCanvas a few hours ago, so sorry in advance if my question is stupid…
I was using blueprint (UE4) before as a beginner, and I was able to get my animations working while running my game. But I just got no idea about how to do it with FlowCanvas… I tried a lot of stuff and searched during a few hours, but I still can’t find anything !
My animations are setup in Unity in the animator, but how do I call them in FlowCanvas to make them work while running my game?
Thank you and take care ! 🙂
Hello there and thank you for purchasing FlowCanvas!
Generally speaking in Unity, you have to create parameters for your Animator Controller which by changing those parameters will in turn affect what animation is being played by the Animator Controller.
Once your Animator Controller has the required parameters you need, you can then use FlowCanvas to change those parameters. All the related functions can be found under the Animator type. Some of those function names are for example “Set Float”, “Set Integer”, “Set Bool”.
The easiest way to create those function nodes, is to drag and drop the Animator component you want to control (or the gameobject containing the Animator component) in the FlowCanvas graph editor, and from the menu that will pop up, navigate to “Animator/Methods”, or simply search for “Set Float” (for example).
Please let me know if that helps 🙂
Thanks again!
Thank you so much Gavalakis for your quick answer !
It works perfectly fine for me 🙂
I’m just gonna leave a screenshot of my Run animation, for anyone who needs an example 😉
You are very welcome and thanks for the follow up with the screenshot! 🙂