Actor controls an charcter like a joystick

Hi there UE experts!

Due to specific requirements, I find myself in need of an actor to control the movement of my character in a particular manner. The position of a cube will determine the direction in which the character moves. Essentially, I would like the character to continue walking indefinitely in the direction that aligns with the cube’s orientation, similar to a virtual joystick.

As I am relatively new to working with blueprints, I would greatly appreciate any assistance or guidance that can be provided in achieving this functionality.

Thank You

2023-06-25_07-41-53_AdobeExpress

I think I messed up the second movement in this example, hopefully it’s explains clearly.