Re: [hlcoders] Using vectors to offset.

2008-10-13 Thread Luke Smith
Ah ok I get it now. Thanks for that! ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

Re: [hlcoders] Using vectors to offset.

2008-10-13 Thread Daniel Soltyka
Christopher Harris Sent: Monday, October 13, 2008 8:19 PM To: 'Discussion of Half-Life Programming' Subject: Re: [hlcoders] Using vectors to offset. To do any offset of a vector to a new location you take the direction you wish to go. Forward, -forward(back), right, -right(left), up

Re: [hlcoders] Using vectors to offset.

2008-10-13 Thread Christopher Harris
rogramming Subject: Re: [hlcoders] Using vectors to offset. If you want to lower a vector, simply decrease the .z value? - Original Message - From: "Luke Smith" <[EMAIL PROTECTED]> To: Sent: Tuesday, October 14, 2008 1:23 AM Subject: [hlcoders] Using vectors to offset. &

Re: [hlcoders] Using vectors to offset.

2008-10-13 Thread Daniel Soltyka
uesday, October 14, 2008 1:23 AM > Subject: [hlcoders] Using vectors to offset. > > >> Can someone explain to me how to use vectors to offset things like >> attachments. >> The code I'm looking at looks like this; >> >> >> Vector forwar

Re: [hlcoders] Using vectors to offset.

2008-10-13 Thread Jonas 'Sortie' Termansen
If you want to lower a vector, simply decrease the .z value? - Original Message - From: "Luke Smith" <[EMAIL PROTECTED]> To: Sent: Tuesday, October 14, 2008 1:23 AM Subject: [hlcoders] Using vectors to offset. > Can someone explain to me how to use vectors to

[hlcoders] Using vectors to offset.

2008-10-13 Thread Luke Smith
Can someone explain to me how to use vectors to offset things like attachments. The code I'm looking at looks like this; Vector forward, right; CBasePlayer *pPlayer = ToBasePlayer( this ); pPlayer->EyeVectors( &forward, &right, NULL ); *pVecTracerStart = vecShotSrc + Vector ( 0 , 0 , -4 ) + ri