 |
|
Veteran Member
Join Date: Oct 2004
Location: abort73.com
|

10-24-2005
, 01:44
|
#6
|
TR_pHit is the entity that was hit by the TraceLine. pentToSkip is the entity that should be ignored by the TraceLine. Since the start of the TraceLine is usually a player's origin, if you didn't skip him then it would always return him as hit no matter what since he is standing on top of the start of the line.
I'm not 100% sure, but I don't think vecEndPos is the second origin of the TraceLine, it's just where the collision occurred.
__________________
No longer around. Thanks your support, everyone! As always: THIS ONES FOR YOU
3000 PTS
|
|
|
|