I’ve been working with the blueprints for a little over a week now and although I understand a few of the nodes, I’m at an absolute loss on how to do this. I am designing a top down style game. I am trying to get it to where the camera is static and the main focus is the character center screen. From here, I want to get the character to move around with the standard WASD movement keys. In addition to that, I want the character to rotate based on where my mouse cursor is on screen. As if the character is locked to the direction the mouse cursor is and is always facing it. I’ve managed to get the WASD keys mapped and working, but I cannot get the mouse cursor thing to work. This is probably a very easy fix and I do apologize for it.
Just to clarify, I am not trying to get the character to move to the location of my mouse cursor, but to instead face the direction of the cursor and rotate around as the cursor moves around. Any help is greatly appreciated.
1 Like
Try:
A bit like a twin-stick shooter.
We shoot a (red) beam from the camera towards the mouse cursor projected into the 3d world, it will eventually intersect (yellow) a virtual horizontal plane (teal) at player’s depth, we find rotation from the player to that intersection (green):
This way you do not need to rely on level topology. Hope it helps.