Class: Trace
Fields
Trace.startposVector3- Trace start position.
Trace.endposVector3- The actual endpoint (early-exit if the trace hit something).
Trace.planePlane- The plane that was hit, if any.
Trace.fractionfloat0.0–1.0fraction of the trace that was completed (1.0= no hit).Trace.contentsint- Content flags of the hit surface.
Trace.dispFlagsint- Displacement flags.
Trace.allsolidbooltrueif the entire trace is in solid space.Trace.startsolidbooltrueif the start position is in solid space.Trace.fractionleftsolidfloat- Fraction at which the trace left solid, if
startsolid. Trace.surfaceSurface- The surface that was hit.
Trace.hitgroupint- Hitgroup index of the hit (see
HITGROUP_*). Trace.physicsboneint- Index of the physics bone that was hit.
Trace.entity- The entity that was hit, if any.
Trace.hitboxint
: