I’ll try to explain this the best I can.
I have an actor (in this case it’s a campfire). The player can interact with the campfire when looking at it (done via line trace).
Now what I want to do is, when the player interacts with the campfire, I want the camera to move just so that the campfire appears in the center of the screen.
Since i’m using a line trace for the interaction, the campfire is always in view of the camera, but is not always in center of the screen. I’m not sure how to approach this.
Any help would be much appreciated.