I’m working on a project that takes Arduino input and uses it to control water using the Serial Communications plugin for UE5.
The water was modelled and animated in Blender, and the animation has 3 states for different water choppiness. I used a 1D blend space to transition smoothly between these animations, but now I’m realising exactly how blend spaces work, and that they’re usually controlled by the character movement component (taking the speed or velocity to change the animation). Of course, this water doesn’t have any velocity as it will stay in one position in the scene.
I need to take the input of the Arduino (this part is working fine) and use it to control the value of the blend space. So far, using blueprint communication by setting the variable in my controller blueprint to reference the animation blueprint and set the wave height did not work.
What is the best way to go about this? Is there another method to blend animations I’m unaware of? I am definitely a beginner in UE5, and also don’t know how these forums work. I can provide any extra information/screenshots if necessary.
Thank you in advance!