FieldLookAt
The FieldLookAt node creates a field where every point in space looks at another point. The field values are rotation vectors which can be used by nodes such as ParticleFieldForce to rotate particles.
The input field should return the look-at point for exam point in space. You can use FieldConstant to look at a single point, or other nodes if you want to make the look-at point vary with position.
Note: This is a LABS node, indicated in Nuke with the tag: 
LABS nodes are experimental and not intended to be used for production.
Inputs and Controls
|
Connection Type |
Connection Name |
Function |
| Input |
fld |
The field which gives the point to look at for each point in space. |
|
Control (UI) |
Knob (Scripting) |
Default Value |
Function |
|
FieldLookAt Tab |
|||
|
Up Axis |
upAxis |
x=0, y=1, z=0 |
Specifies the Up Axis - the axis that points will rotate around. |
| Max Distance | maxDistance | -1 | Specify the maximum distance that the look at applies to. |
| Rotate X | rotateX | on | Define whether the field rotates on the X axis. |
| Rotate Y | rotateY | on | Define whether the field rotates on the Y axis. |
| Rotate Z | rotateZ | on | Define whether the field rotates on the Z axis. |
| Display Tab | |||
| Draw Bounding Box | preview_bounds | off | Draw the bounding box of the field if it has one. |
| Draw Preview | preview_on | off | Draw a rough preview of the field. |
| Preview Opacity | preview_opacity | 0.5 | The opacity at which to draw the preview. |
| Scale | preview_scale | 1 | A value by which the field is multiplied before drawing. You may need to increase this to display faint volumes for example. |
| Offset | preview_offset | 0 | A value added to the field before drawing (after scaling). |
| Detail | preview_detail | 1 | The detail level at which the preview is drawn. Large values are more accurate but slower to draw. |