Rotating character to pitch of camera

What i want to do is rotating and moving character where camera is looking. In video you can see it rotates left and right with no problem but when it comes to up and down, even though characters moves where camera looking, only camera rotates.

What i tried:

  1. Checking “Use Controller Rotation Pitch”: When I do this, character rotates but camera does not follow it. Camera looks down too (you can see in the video).

  2. A new, community-hosted Unreal Engine Wiki - Announcements - Epic Developer Community Forums – Steering pitch like in this link. Didn’t help either. The result was:
    a. Camera and characters goes opposite rotations
    b. character does not swim up and down

  3. Checking “Orient Rotation to Movement”: It is not what i wanted. It rotates up and down only in movement.

Any advice?

Hey, are you using a spring arm ? (i think this is how it is called)
You can set your camera to be a child of the spring arm component and it has options to deal this kind of stuff.

@anonymous_user_be064a4a i tried those things too (also my camera is a child of spring arm).

With Lojo’s advice from here Want to rotate character to pitch of camera - Character & Animation - Unreal Engine Forums i set up my blueprint like this

This works with minor problem. When making camera too much up or down, it goes crazy. Still working to find a way to make it stable.

In your character BP there is options in the Pawn section in the default tab, you can check the first person template aswell.

Yeah, didn’t want to fish rotate all the way up, but deleted after this.

First person template is using Camera (Parent) > Mesh (Child). This makes mesh move around camera so it isn’t good for 3rd person gameplay.

It should work when you set the pawn to use controller rotation pitch and yaw in the pawn category inside the default tab.