Hi Guys!
I’m new in UE 4
Soooo, I trying to make game like Top Down, camera view can be Zoom in / Out and can be Rotated.
My problem is that I can not make player movement in direction where camera is facing.
like in Editor mode.
Thanks !
Hi Guys!
I’m new in UE 4
Soooo, I trying to make game like Top Down, camera view can be Zoom in / Out and can be Rotated.
My problem is that I can not make player movement in direction where camera is facing.
like in Editor mode.
Thanks !
As you have not provided any blueprints I will assume that you use Add Controller Yaw Input node in your Input Axis look Right event.
In this case you can use Get Controller Rotation → take only the Yaw value → Mare Rotator → Get Forward Vector. I will call this Forward Vector.
From this point on you can move your Pawn in the Forward Vector direction multiplied by your desired speed and the Axis Value.