game_trace

Encapsulates all tracing information returned by the tracing methods.

ent

FieldRead only

Type: base_entity


ent_handle

FieldRead only

Type: chandle


startpos

FieldRead only

Type: vector


endpos

FieldRead only

Type: vector


plane

FieldRead only

Type: plane


fraction

FieldRead only

Type: number


phys_bone

FieldRead only

Type: number


ent_bone

FieldRead only

Type: number


startsolid

FieldRead only

Type: boolean


did_hit

Method

Returns whether or not the trace hit an entity or the world.

Arguments

Nothing.

Returns

Type

Description

boolean

Whether it hit something or not


did_hit_world

Method

Returns whether or not the trace hit the world.

Arguments

Nothing.

Returns

Type

Description

boolean

Whether it hit the world or not

Last updated