Skip to content

llSetLinkCamera

Function Syntax
void llSetLinkCamera(
  1. integer LinkNumber, // Prim link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag
  2. vector EyeOffset, // Offset, relative to the object's centre and expressed in local coordinates, that the camera looks from.
  3. vector LookOffset // Offset, relative to the object's centre and expressed in local coordinates, that the camera looks toward.
);

Sets the camera eye offset, and the offset that camera is looking at, for avatars that sit on the linked prim.