Garry's Mod Wiki

Revision Difference

Player:GetViewOffset#512723

<function name="GetViewOffset" parent="Player" type="classfunc">⤶ <description>⤶ Returns the view offset of the player which equals the difference between the players actual position and their view.⤶ ⤶ See also <page>Player:GetViewOffsetDucked</page>.⤶ </description>⤶ <realm>Shared</realm>⤶ <rets>⤶ <ret name="" type="Vector">New view offset, must be local vector to players <page>Entity:GetPos</page></ret>⤶ </rets>⤶ </function>⤶ ⤶