How to rotate Pitch of camera to match the direction the player is facing when flying upwards?
I have a third person, flying character who moves forward, back, left, right and vertically up and down. The character moves up or down by pressing the left or right mouse button. When doing so, the Pitch of the character rotates to match the direction of movement (tilts up when flying up, down when flying down). However, I am struggling to get the camera to follow this rotation, nothing I can find or think of seems to work. I would like the camera to face the direction the character is facing. So when he tilts upwards and flies upwards, I want the pitch of the camera to also match this tilt.
I am very new to blueprint and still learning so I would appreciate as much detail as possible when answering so I understand how to implement the advice. Thank you very much in advance. :)
I hope this makes sense please let me know of anything else needed to help explain and I will gladly add it. I have included an image of my movement script.
asked Dec 03 '15 at 08:47 PM in Blueprint Scripting
Would it be possible for you to apply the rotation to the entire actor instead of just the FlippyMesh? This should cause the Spring Arm that the Camera is attached to to rotate as well. If not, can you attempt attaching the Spring Arm to the FlippyMesh so that it should follow any rotation of its parent?
answered Dec 04 '15 at 06:27 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here