Garry's Mod Wiki

Garry's Mod Wiki

  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.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...