How could I program movement trajectory, so that player is not able to move across the space, but merely rotate on the spot?
Create a Pawn BP and add a camera component to it as the root. And then do this to capture mouse movement:
Set your pawn BP as the default pawn in world settings and thats it.
very easy. you just DON’T program it. lol.
i bet you are building ur stuff from one of the demos, in such case, you have to delete/disconnect the nodes that are responsible for the movement. look your player blueprint “event graph” tab and search for movement inputs.
if the case isn’t a demo but an empty project, you should use what Jacky suggested instead.
good luck