Widget Animations In C++
I chose to implement an animated widget utilizing c++ and Unreal Engine 5. Setting up the animated widget was a challenge in itself, but I got it done and learned a lot along the way. Setting up the widget to be used in script was a whole new task in itself. After doing some research I knew what I needed to do.
First, I needed to set up the UPROPERTY in the widgets script properly, which required a specific property to be set. I also needed to set up the PlayAnimation function a certain way to get it to play the animation forwards and backwards because the widget was meant to be toggled. Then I needed to ensure the buttons were connected properly. Lastly, I made sure all of the blueprints were connected properly. After some debugging I realized I forgot to mark some functions as UFUNCTION and the menu was set up as intended.
Author: Zachary Giffin
Posted: 11/17/2023
Comments
Post a Comment