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


Introduced in

Version:1.00

Description

Description:Sets the object up vector. The direction vector remains unchanged.

Syntax

Syntax:object setVectorUp [x, z, y]
Parameters:
  • object: Object - Affected object.
  • [x, z, y]: Array - Up vector.
Return Value:Nothing

Examples

Examples:

Additional Information

See also:fn vbs setPitchBank, vectorUp, setVectorDir, vectorDir, setVectorDirAndUp
Multiplayer:
Problems:

Notes






setVectorUp can only influence an object's bank. It can not influence pitch. Example:

   player setVectorUp [0,1,0]
   If the player is facing 0 degrees (north), then this will do NOTHING.
   If the player is facing 90 degrees (east), then this will make him bank 90 degrees to his left.

--General Barron 21:07, 3 March 2009 (CET)


Posted on March 16, 2008 - 09:49
Str
Command can be also used to rotate camera in all three axis (which also mean it's possible to set camera bank).