Want to rotate character to pitch of camera

Ok, so the title probably isn’t that clear, but basically I have a swimming character, and i have no problem swimming around in all 3 axes, however, when swimming up or down, the character moves in that direction, but does not rotate to match it. So it can swim upwards, but the character continues to face in a forward direction. This is probably something obvious, but these are my first few days working with Unreal :slight_smile: here is my BP, it’s just the standard 3rd person, but edited :slight_smile: there is stuff off screen, but its not movement related, only adding a zoomable camera, but if a screen of that would be helpful i’ll add that too :slight_smile:

did you find a solution to this? I have the exact same problem.

I just solved this for myself recently (wanted to have wow-like movement). Here are the rough steps:

  1. Get your actor’s rotation (Get Actor Rotation)
  2. Get your camera’s relative rotation (Camera Boom → Get Relative Rotation)
  3. Add them (Vector + Vector) to get your camera’s absolute rotation
  4. Set Actor Rotation to the result of #3
  5. Set camera’s relative rotation to 0 (To get a vector of zero, you use Make Vector)

Hope this helps!

edit: this really helped! thank you very much! just need to restrict to some angle because it goes crazy from one point.

Could you please upload a pic of what you did? I tried following this but I get no results, I tried to use the 3rd person game gamera template, that is exactly what I want to do, and still got no results on the camera pitch

Sounds like @Lojo solution will work. One thing I will mention though is it seems you are ignoring the “Roll” rotation of your character. Whether swimming or flying, roll gives you the somersault/back flip type movement of your character. Without manipulating that, your character will remain “flat”. Good Luck!