CLICK HERE to visit the new NS2 Wiki! Please do not rely on any information here as it may be inaccurate and/or out of date! For help with NS2, hop onto the official Discord server!

Lua/Objects/Vector

From NS2 community wiki
Jump to: navigation, search

Lua Object

Name

Lua/Objects/Vector

Inherits

nil

Direct Subclasses

None

Client/Server

Unknown

Created With

None

Destroyed With

None

Description:
No description provided.




Fields

  • float x
  • float y
  • float z

Functions

float Vector:GetLength ( )

float Vector:GetLengthSquared ( )

Vector Vector:GetPerpendicular ( )

Vector Vector:GetProjection ( Vector )

Vector Vector:GetUnit ( )

float Vector:Normalize ( )

  • Vector:Operator +(Vector)
  • Vector:Operator -(Vector)
  • Vector:Operator =(Vector)
  • Vector:Operator /(Vector)
  • Vector:Operator *(Vector)
  • Vector:Operator *(unknowned)