bullet_data_t

Fields

FieldDescription

valid bool

whether the bullet trace hit a player. if false, only damage will be set

damage entity_t

entity object if hit any, nil otherwise

hitgroup e_hitgroups

hit hitgroup

hitbox e_hitboxes

hit hitbox

pen_count int

how many walls were penetrated before hitting the player

hit_pos vec3_t

world coordinate of where the player was hit

hit_player entity_t

player entity that was hit

Last updated