Camera panning up from current location in blueprints having a very weird glitch (epilepsy warning for video!)

Hi all! I’m having a strange issue at the moment with something quite basic that I am trying to implement and I have no idea why it’s doing this :weary_face:

All I’m trying to do is make it so, when the player interacts with this little NPC, the camera pans up a tiny bit just so the text bubble UI doesn’t cover them.

I did this through a timeline and using it to update the Z location of the camera and applying it to the relative location:

Here’s a video of the glitch (EPILEPSEY WARNING THO- INTENSE FLASHING :double_exclamation_mark:)

If anyone has any ideas why this could be happening, I’d be really grateful! :heart_hands:

Hello @WillMead13

It looks like you are using GetWorldLocation, which gives you the absolute camera location, but then you are setting the relative location, which is local to its parent. Try using GetRelativeLocation instead.

I think that is the problem.