The LookAt component takes a position and target point and calculates a rotation matrix that orients an object positioned at the input position so that the z axis points to target.
The input slots are pos_slot and target_slot and the output slot is output_slot.
pos is the position of the object.
target is the target point that should be aimed at.
up is the vector that is considered to be the ‘up’ direction.
roll is an angle in degrees that the object is rotated around its local z axis.