Garry's Mod Wiki

Player:GetEyeTraceNoCursor

Player:GetEyeTraceNoCursor

  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 Structures/TraceResult.

Special Pages


Wikis

?

Render Time: 48ms

DB GetPage 27
Generate Html 3
SaveChanges (1) 8
Render Body 0
Render Sidebar 7