Skip to main content

CameraSetXYZ

Description

Activates camera mode 4 (script camera) and sets its position and the point it should look at.

function CameraSetXYZ(posx, posy, posz, lookx, looky, lookz) --[[ ... ]] end

Parameters

  • posx: number - X coordinate of the camera position.
  • posy: number - Y coordinate of the camera position.
  • posz: number - Z coordinate of the camera position.
  • lookx: number - X coordinate of the point the camera should look at.
  • looky: number - Y coordinate of the point the camera should look at.
  • lookz: number - Z coordinate of the point the camera should look at.

Return Values

None.

Example

None.