Angle/Unpack

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(lets use full names in the description)
 
Line 1: Line 1:
 
{{Func
 
{{Func
|Description=Returns the p, y, and r of the angle.
+
|Description=Returns the pitch, yaw, and roll components of the angle.
 
|Realm=Shared
 
|Realm=Shared
 
|IsClass=Yes
 
|IsClass=Yes

Latest revision as of 16:40, 12 November 2019

 Angle:Unpack( )

Contents

Description

Returns the pitch, yaw, and roll components of the angle.

Returns

number

p, pitch, x, or Angle[1].

Returns

number

y, yaw, or Angle[2].

Returns

number

r, roll, r, or Angle[3].
Personal tools
Navigation