Keep looping through the trace, and whenever you hit a wall or anything set it to ignore that entity. This is done by setting up a trace filter (the part where you are passing NULL).
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ratman2000 Sent: Monday, July 09, 2007 11:38 AM To: [email protected] Subject: [hlcoders] How to trace? Hello, im testing in my plugin how to trace from a position to another and check, if a player in this line. So i think: Start ----------------------------- End = Nothing Start ------- Player -------------- End = Player Hit! So i have tested: trace_t tr; Ray_t ray; ray.Init( Start , Ende ); Enginetrace->TraceRay( ray, COLLISION_GROUP_PLAYER, NULL, &tr ); But than the trace dont get by walls and other stuff... I like to trace without hit anythink... only players... is there a way? Thanks for all help! With friendly reguards from Germany Ratman2000 _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders __________ NOD32 2385 (20070709) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.com _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

