I am using the UTIL_TraceHull() to see if a player is standing inside or
touching the box I am tracing.
But I am not sure how to tell if the player was inside or not?

trace_t tr;
UTIL_TraceHull(
closest,
closest,
GetPlayerMins( ( player->GetFlags() & FL_DUCKING ) ? true : false ),
GetPlayerMaxs( ( player->GetFlags() & FL_DUCKING ) ? true : false ),
MASK_SOLID,
player,
COLLISION_GROUP_PLAYER_MOVEMENT,
&tr );

tr.??
I tried a couple but they aren't working so not sure what is wrong...


Hope that makes sense.

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



Reply via email to