I’m trying to make a spaceship (also the player) to move continuously according to the location of the mouse on screen using blueprints.
For example, when the crosshair in on the top middle of the screen the spaceship will continuously pitch upwards, same goes to the yaw.
They did the same in Everspace (EVERSPACE™ on Steam)
If you need something more advanced, you’d want a directional vector from the centre of the screen to mouse position. Not only would this give all directions but also the distance from the centre which can be then interpreted as speed - the further you’re from the screen centre with the cursor, the faster you go.
I put it in the HUD class, it makes it easier to draw 2d debug on screen:
Print those values and observe them change - this should give you an idea regarding how to apply them to yaw/pitch. The number here shows the distance, you can use is as speed when calculating rotation interpolation.
The Pawn seems to be default with a mesh, camera and springarm, you just need to assign it your own static mesh. The controller is pretty much default as well. It handles all logic seen above.