Garry's Mod Wiki

debugoverlay.Axis

  debugoverlay.Axis( Vector origin, Angle ang, number size, number lifetime = 1, boolean ignoreZ = false )

Description

Displays an axis indicator at the specified position.

This function will silently fail if the developer ConVar is set to 0. It is not networked to clients, except for the listen server host.

Arguments

1 Vector origin
Position origin
2 Angle ang
Angle of the axis
3 number size
Size of the axis
4 number lifetime = 1
Number of seconds to appear
5 boolean ignoreZ = false
If true, will draw on top of everything; ignoring the Z buffer