View Single Post
ayyyyyyylmao
Junior Member
Join Date: Apr 2018
Old 08-09-2018 , 08:52   Re: How i can trace EVERYTHING around player?
Reply With Quote #6

Quote:
Originally Posted by eyal282 View Post
Instead of GetClientEyeAngles use the origin of the target entity.

Instead of RayType_Infinite use RayType_EndPosition ( infinite uses angles and endposition uses another entity's origin ).

Feel free to use filters for invisible things like glasses, and filter both target and client entities.

After filtering:

if(TR_DidHit())
// Player cannot see target player.
meh, my raytraces so bad, like i can see the player, but trace cant
ayyyyyyylmao is offline