Hello to everyone who takes the time to read this,
I am using a third person player character and I want the follow camera to swing back to its initial position after some time and also triggered by events.
What would be a simple way to realize this because setting the Camera or the Camera’s arm transform does not work here?
Store the initial position upon initialization, let’s say Event Begin Play > Set InitialPositionOfCamera vector. Activate the event or after some time, Lerp back to the InitialPositionOfCamera. This is obviously on the removed from mesh camera.
Just to give you an idea of how I came up with this I asked myself, “how is the mouse input related to camera movement”, so I took a look in the method supplied by Epic and saw it was done through the SetControlRotation function, next I knew I needed to get the current rotation of the players mesh which I did by getting its WorldRotation, this returned a wonky value so had to add 90 degrees to it, and wallah.