Look At Function

Look At Function

Windows
MacOS
Linux

Computes the transform which is "looking" at target position with a local axis.

Target is Kismet Animation Library

Look At Function
Current Transform
Target Position
X0
Y 0
Z 0
Look at Vector
X0
Y 0
Z 0
Use Up Vector
Up Vector
X0
Y 0
Z 0
Clamp Cone in Degree
0.0
Return Value

Inputs

Current Transform
Transform (by ref)

The input transform to modify

Target Position
Vector (by ref)

The position this transform should look at

Look at Vector
Vector

The local vector to align with the target

Use Up Vector
Boolean

If set to true the lookat will also perform a twist rotation

Up Vector
Vector

The position to use for the upvector target (only used is bUseUpVector is turned on)

Clamp Cone in Degree
Float

A limit for only allowing the lookat to rotate as much as defined by the float value

Outputs

Return Value
Transform
Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback