how to rotate character when pressing button?
Based on your comments: What you want to do is controlling the camera instead of the character rotation while pressing a special key.
So you need to combine what I said with the DANjustYEAH's blueprint-screenshot and the fact that you can enable/disable the camera's ability to follow the controller rotation (which should be on a spring arm). There is an AnswerHub Question about this camera property here.
I'm not gonna post a full solution here, but you need something like this:
answered Oct 08 '15 at 09:05 AM
Your question is either too easy or not clear enough. It's so basic, that you can find it in any Example Project.
Create a FPS Example Project and look at FirstPersonCharacter:
You may want to check out the info in this thread, in particular the axis mappings.
This will make the input action happen for every frame.
After that it is just a case of using a AddActorWorldRotation node to move the camera and a Make Rotator node to create your rotation values.
answered Oct 07 '15 at 03:23 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here