Skip to content

trace_result_t

Fields#

Field Description
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