CGameTrace

Encapsulates all tracing information returned by the tracing methods.

m_pEnt

FieldRead only

Type: C_BaseEntity


m_EntHandle

FieldRead only

Type: CHandle


m_vStartPos

FieldRead only

Type: Vector


m_vEndPos

FieldRead only

Type: Vector


m_Plane

FieldRead only

Type: CPlane


m_flFraction

FieldRead only

Type: number


m_iPhysBone

FieldRead only

Type: number


m_nEntBone

FieldRead only

Type: number


m_bStartSolid

FieldRead only

Type: boolean


DidHit

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


DidHitWorld

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