trace_result_t

Fields

FieldDescription

fraction float

how far the trace traveled before hitting the desired target (range 0···1)

entity entity_t

entity object if hit any, nil otherwise

hitgroup e_hitgroups

hit hitgroup if hit a player

hitbox e_hitboxes

hit hitbox if hit a player

Last updated