Garry's Mod Wiki

Player:GetViewOffset

Vector Player:GetViewOffset()

Description

Returns the view offset of the player which equals the difference between the players actual position and their view.

See also Player:GetViewOffsetDucked.

Returns

1 Vector
New view offset, must be local vector to players Entity:GetPos

Page Links


Special Pages


Wikis

?

Render Time: 28ms

DB GetPage 4
Generate Html 2
SaveChanges (1) 8
Render Body 0
Render Sidebar 12