Actor controls an charcter like a joystick

Hi there UE experts!

Due to specific requirements, I need a cube actor that 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

Example

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

Add a navmesh. Get the position of the cube, add 1000 in the x direction, and use that location as a MoveToLocation on the controller of the Pawn. It might need to be an AI controller.