Houdini 20.0 Nodes APEX Nodes

transform::LookAt

Rotates a 4×4 matrix so its -Z axis points at a target.

On this page
Since 20.0

The inxform is rotated so that it points its -Z axis from its position to the position of the lookat transform, while orienting its +Y axis towards the position of lookup.

Inputs

inxform: Matrix4
lookat: Matrix4
lookup: Matrix4

Outputs

xform: Matrix4

APEX Nodes