Garry's Mod Wiki

Player:GetViewOffset

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

Special Pages


Wikis

?

Render Time: 21ms

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