Here is a little video, how to set up the pawn itself and the game mechanic. The cube is nested inside the player pawn. If you want to use objects outside of the player pawn, you could simply use a line trace and get the reference and then use the add local rotation on the hit object from a linetrace :).
You need to toy around with this system a bit, because I don’t know, how you want to have it working in the end. This might just be a nudge into the right direction :).
Hope it helped.