it's vector math, if you have a point, and you want a point away from
it at a certain distance in a certain direction you can easily
calculate the new point. The sdk has a funciton called VectorMA which
takes four paramters I believe .. first is the initial point, second
is direction, third is distance, 4th is a pointer to result.


On Sun, 16 Jan 2005 21:15:21 -0500, r00t 3:16 <[EMAIL PROTECTED]> wrote:
> I want to implement this, and I some what have this working, however.
> player->SetViewOffset(); Needs to be adjusted depending on the players
> position in the world.
>
> For example. if I set the SetViewOffset to -20 x, If I am facing I believe
> North on the map I lean the correct way. However if I turn to the east and
> try to lean the player seems to lean back...
>
> How would I be able to set this depending on the players position?
> Or is there a better way to do this?
>
> r00t 3:16
> CQC Gaming
> www.cqc-gaming.com
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, please 
> visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to