This article's documentation is for anything that uses the Source engine. Click here for more information.

test_traceline

From Valve Developer Community
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Class hierarchy
CTestTraceline
CPointEntity
CBaseEntity
testtraceline.cpp

test_traceline is a point entity available in all Source Source games. It is a debugging tool for testing tracelines that draws a line with a green box at the place where it hit something.

Keyvalues

Pitch Yaw Roll (Y Z X) (angles) <QAngle>
This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.

ConVars

When spawned it creates cvar traceline_spin 1. If set to 0 it stops spinning.