Garry's Mod Wiki



Returns the position and angle of the entity as a 3x4 matrix (VMatrix is 4x4 so the fourth row goes unused). The first three columns store the angle as a rotation matrix, and the fourth column stores the position vector.

This returns incorrect results for the angular component (columns 1-3) for the local player clientside.
This will use the local player's EyeAngles in rendering hooks.
Columns 1-3 will be all 0 (angular component) in rendering hooks while paused in single-player.


1 VMatrix
The position and angle matrix.

Page Links

Special Pages



Render Time: 32ms

DB GetPage 3
Generate Html 6
SaveChanges (1) 14
Render Body 0
Render Sidebar 6