LookAt Auto-Orient

Makes any layer automatically face a target layer in 3D space.

Code

target = thisComp.layer("Target");
lookAt(transform.position, target.position);
3dorientlookat

How to Use

Create a 3D null named "Target", paste on a 3D layer's Orientation or Rotation property.