Garry's Mod Wiki

Garry's Mod Wiki

  Angle Entity:GetAngles()

Description

Gets the angles of given entity.

This returns incorrect results for the local player clientside.

Issue Tracker: 2764
This will return the local player's EyeAngles in rendering hooks.

Issue Tracker: 3106
This will return Angle(0,0,0) in rendering hooks while paused in single-player.

Issue Tracker: 3107

Returns

1 Angle
The angles of the entity.

Example

Prints the 1st player's angles.

Output: Something like "0.000 34.529 0.000" in console.

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 twice a day. Edits and history are not available.

Last Parsed: Loading...