bullet_data_t
Fields#
| Field | Description |
|---|---|
validbool |
whether the bullet trace hit a player. if false, only damage will be set |
damageentity_t |
entity object if hit any, nil otherwise |
hitgroupe_hitgroups |
hit hitgroup |
hitboxe_hitboxes |
hit hitbox |
pen_countint |
how many walls were penetrated before hitting the player |
hit_posvec3_t |
world coordinate of where the player was hit |
hit_playerentity_t |
player entity that was hit |