Player/SetViewOffset

From Garry's Mod
Revision as of 11:43, 28 March 2014 by Robotboy655 (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 Player:SetViewOffset( )

Description

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.

Arguments

Vector viewOffset

The new desired view offset when standing.
Personal tools
Navigation