Enums 1

Enum Description
RayType

Types 1

Type Description
TraceEntityFilter

Functions 17

Function Description
TR_DidHit

Returns if there was any kind of collision along the trace ray.

TR_GetEndPosition

Returns the collision position of a trace result.

TR_GetEntityIndex

Returns the entity index that collided with the trace.

TR_GetFraction

Returns the time fraction from a trace result (1.0 means no collision).

TR_GetHitGroup

Returns in which body hit group the trace collided if any.

TR_GetPlaneNormal

Find the normal vector to the collision plane of a trace.

TR_GetPointContents

Get the contents mask and the entity index at the given position.

TR_GetPointContentsEnt

Get the point contents testing only the given entity index.

TR_PointOutsideWorld

Tests a point to see if it's outside any playable area

TR_TraceHull

Starts up a new trace hull using a global trace result.

TR_TraceHullEx

Starts up a new trace hull using a new trace result.

TR_TraceHullFilter

Starts up a new trace hull using a global trace result and a customized trace ray filter.

TR_TraceHullFilterEx

Starts up a new trace hull using a new trace result and a customized trace ray filter.

TR_TraceRay

Starts up a new trace ray using a global trace result.

TR_TraceRayEx

Starts up a new trace ray using a new trace result.

TR_TraceRayFilter

Starts up a new trace ray using a global trace result and a customized trace ray filter.

TR_TraceRayFilterEx

Starts up a new trace ray using a new trace result and a customized trace ray filter.