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
Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss