Global/VectorRand

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
m (Also menu state)
Line 5: Line 5:
 
|Realm=Shared and Menu
 
|Realm=Shared and Menu
 
|IsClass=No
 
|IsClass=No
 +
|File=lua/includes/util.lua
 +
|Line=97-L99
 
}}
 
}}
 
{{Ret
 
{{Ret

Revision as of 21:22, 21 February 2019

 VectorRand( )

Description

Returns a random vector whose components are each between -1 and 1

Returns

Vector

The random direction vector
Personal tools
Navigation