MainEyePos
Vector MainEyePos()
Description
Returns the origin of the main view, as it was at the start of the latest main view render.
This is a good alternative to EyePos which is affected by other rendering operations, including render.RenderView.
Garry's Mod
Rust
Steamworks
Wiki Help