Getting the clients eye origin


This question is somewhat related to:

I am rewriting PlayerUse because the current one doesn’t aim correctly because I’m altering the clients view origin and what not.

However I need to know what the view origin of the client is on the server, sending continuous net messages would be absolutely terrible…

Is there a better way to do this than to recompute everything on the server side and only send thirdperson toggle updates to the server from the client?

I think you need this, it is shared.

and CalcView is clientside, so you shouldn’t need much between the server and client.

I need to run the trace from the clients eye origin, I thought GetEyeTrace runs from where his eyeballs normally would be, does it not?

[editline]12th July 2014[/editline]

I solved this by doing all +use logic on the client side and networking the entity over.