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: 20ms

Session 0
DB GetPage 3
Generate Html 1
SaveChanges 9
Render Body 0
Render Sidebar 6