Garry's Mod Wiki

VectorRand

Vector VectorRand( number min = -1, number max = 1 )

Description

Returns a random vector whose components are each between min(inclusive), max(exclusive).

Arguments

1 number min = -1
Min bound inclusive.
2 number max = 1
Max bound exclusive.

Returns

1 Vector
The random direction vector.

Page Links


Special Pages


Wikis

?

Render Time: 91ms

DB GetPage 11
Generate Html 9
SaveChanges (1) 59
Render Body 0
Render Sidebar 9