Quote Originally Posted by IzNoGoD View Post
viewpos shows the position from which the player is viewing, not his origin
well, viewpos returns the player's origin + 60 added to Z coordinate. So, they are basically the same thing. You simply have to take 60 units off the Z coordinate.