How to make my camera move to the specific location.

I have a game in FPP and i wanna do an interaction with a chair. I mean, if character be enough close to object and we press e.g. “E” then my camera move to the location above a chair to look like we are sitting on it. And when we press “E” again we back to the FPP movable character. And can you do the camera move smoothly to the “sitting vision” location?

You’ll want to use SetViewTargetwithBlend

Here’s a resource about its usage:

Is there any easier way to do that? I chave something like 6 benches on my map, and i want to every of them to be able for sit.

Is there any easier way to do that? I chave something like 6 benches on my map, and i want to every of them to be able for sit.

For my project I use the ‘Move Component To’ node, your ‘Scene Component’ is the Component you attach to the ‘Move Component To’ node.

Hopefully this answer will help you.

You’ll want to create a solution for your project, perhaps using a custom BP actor for your bench and a camera attached to that.

Then when you press E, in your player class, ray trace for the bench and run the code above.