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: 22ms

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