Rotate first person camera in blueprints
I have an end-game sequence that I'm trying to achieve in which the player suddenly turns around over a period of about 0.25 seconds. I built my game using the first person template, so I have a camera component inside of a capsule with a couple other components that are irrelevant.
I have tried to make the camera turn around by setting the camera component's relative rotation to 180, but that does not seem to do anything. I have also tried to do this with the "add controller yaw input" and a 0.25 second timeline with an output of 4.75, but there's no good way to make sure that the character turns EXACTLY 180 degrees; it seems that it will usually turn somewhere inbetween 90 and 180 degrees, but it is inconsistent.
Adding local rotation to the pawn actor does nothing, and setting the camera's "use pawn control rotation" to false before attempting to rotate it also does nothing.
What is the proper way to rotate the first person camera over a period of time for an exact number of degrees?
I am open to C++ functions too; I'm just less experienced in that language.
asked Nov 08 '14 at 11:14 PM in Blueprint Scripting
Have you tried using SetControlRotation?
answered Jul 10 '18 at 10:52 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here