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

DB GetPage 53
Generate Html 3
SaveChanges (1) 13
Render Body 0
Render Sidebar 11