[Question] Make camera look at vector

Hi,

I’ve been looking around through the camera’s functions in blurprints, and can’t seem to find a function or method to do this.Is there a way to point a camera at a vector of another object, So that I can turn a camera to face an object…

For example, Get the 'target’s vector, and then do Camera->LookAt->Target’s Vector, All in blueprints…

Thanks!

You’ll want to use the “Find Look at Rotation” node, and then plug in the players current position and the target. Then use the resulting rotation in a “Set Actor rotation” or node.

You can tweak this using timelines and lerps for smoother rotations, but this is the logic I’ve been using.

Thanks, I’ll try that out! :slight_smile:

Hi
I have tried in this way but the rotation is not working. Anyone knows why?