How to rotate camera around an object

I have an object in which I want to press E on the object and then the first person camera will switch to the objects camera so that you can drag around the object to have a look at it in full 360 and be able to look at it from all angles, is this possible?

1 Like

Camera orbiting has been done too many times:

For the extra control over the camera, your character can carry a spare camera actor (as a child actor - so the *Set View Target with Blend* does not pick it up). When interacting, you place the child actor at the target's position, *Set View Target with Blend* and do the orbiting. When finished, Set View back to the player.

Object interaction is another story altogether, there’s are countless tutorials in YT. At the fundamental level:

  • onKey Press, line trace from the camera along it’s forward vector until you hit an interactive object
  • do the camera switcheroo magic
  • once done, Flip Flop with the same onKey Press to revert cameras

Hello, please could you give me that YT tutorial?

https://www.youtube.com/results?search_query=ue5+object+interaction

amm, i thought that you speak about the camera rotation around the object, interaction isn’t what i wanted.
So i want to ask you. my goal is to rotate the camera like orbit around the selected object. so i have Pawn bp, which is my player during play, and imagen there is many actors in level. so now i have a logic of rotation the objcet. but i want be rotated around object with help of mouse LBM or RBM. if you know the solution could u please help me or just direct me how can i get to that

not sure if this is what you need or if you still need it, but there is this