Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Create and manipulate Vector and QAngle values.
Vector(x, y, z)
local v = Vector(1, 2, 3) v.x, v.y, v.z -- 1, 2, 3 (writable) local u = v + Vector(0, 0, 5) local w = v * 2 local d = (v - u):Length()
v.x, v.y, v.z v.x = 100
v + u
v - u
v * s
s * v
v / s
-v
v == u
v:Length()
v:LengthSqr()
v:Distance(u)
(v - u):Length()
v:Dot(u)
v:Cross(u)
Vector
v:Normalize()
Vector(0, 0, 0)
QAngle(pitch, yaw, roll)
local a = QAngle(0, 90, 0) a.pitch, a.yaw, a.roll -- 0, 90, 0 (writable)
entity.*
QAngle
pawn.m_vecOrigin = Vector(0, 0, 0) pawn.m_vecOrigin = { x = 0, y = 0, z = 0 } pawn.m_angEyeAngles = QAngle(0, 90, 0) pawn.m_angEyeAngles = { pitch = 0, yaw = 90, roll = 0 }