Hey list,

I have a small question. I have a weapon that uses a raytrace, and kills
only one player type. It works, but I found the hit detection to be iffy.
I found I hadn't added any hitboxes yet for that player model, so I was
kind of surprised I could still hit the player without hitboxes

What is the relation between hitboxes and traces used for weapons on
players? I thought the traces were done only against hitboxes, but
apparently they're also done against the collision model? Does the engine
always test against both, does it detect I don't have hitboxes, or is it a
flag you need to specify when you do the raycast? [ I know there are flags
to set what to test against, I'm talking about the default flags used for
weapons in the SDK. My normal weapons use
MASK_SOLID|CONTENTS_DEBRIS|CONTENTS_HITBOX, the weapon in question uses
MASK_SHOT & ~CONTENTS_WINDOW ]

Thanks for any insight in this!

-- Maarten


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to