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
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
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.
&
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
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
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
6 matches
Mail list logo