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 ) + right * -5 + forward
* 45;



So adjusting the number on the bottom like "45"  has an effect and offsets
the attachment forwards. But what if I want to move it down for instance?
Ive tried putting Vector forward, right, down; and so on but it has no
effect. Anyone?
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to