Page tree
Skip to end of metadata
Go to start of metadata


Introduced in

Version:1.64

Description

Description:Returns the current camera frustum information for horizontal and vertical vectors.

Syntax

Syntax:camFrustumDir
Parameters:
Return Value:Array - [xdir, ydir]:

Examples

Examples:Points an arrow in the direction of the camera view:
arrow = "vbs2_visual_arrowside" createVehicle (getpos player);

waitUntil {
  arrow setPos (player modelToWorld [0,5,1]);

  arrow setVectorDirAndUp camFrustumDir;
};

Additional Information

See also: camFrustum
Multiplayer: 
Problems: 

Notes