Garry's Mod Wiki


Player:SetViewOffset( Vector viewOffset )


Sets the desired view offset which equals the difference between the players actual position and their view when standing.

If you want to set actual view offset, use Player:SetCurrentViewOffset

See also Player:SetViewOffsetDucked for desired view offset when crouching.


1 Vector viewOffset
The new desired view offset when standing.

Page Links

Special Pages



Render Time: 29ms

Session 0
DB GetPage 4
Generate Html 2
SaveChanges 8
Render Body 0
Render Sidebar 13