Garry's Mod Wiki

Garry's Mod Wiki

  table Player:GetEyeTraceNoCursor()

Description

Returns the trace according to the players view direction, ignoring their mouse (holding c and moving the mouse in Sandbox).

The results of this function are cached clientside every frame.

Uses util.GetPlayerTrace internally and is therefore bound by its limits.

See also Player:GetEyeTrace.

Returns

1 table
Trace result. See TraceResult structure.

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

Last Parsed: Loading...