AngleRand

From Garry's Mod
Revision as of 21:23, 21 February 2019 by Gasp (Talk | contribs)
Jump to: navigation, search
 AngleRand( )

Contents

Description

Returns an angle with a randomized pitch, yaw and roll. The pitch is between -90 and 90 degrees, while yaw and roll are between -180 and 180 degrees.

Returns

Angle

The randomly generated angle.

Examples

Example

Prints out a random angle.

print( AngleRand() )

Output:

-6.949 113.388 130.879
Personal tools
Navigation