Test traceline: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(-added class hierarchy, cleanup)
Line 1: Line 1:
[[File:Obsolete.png|left|link=]]
{{CD|CTestTraceline|file1=testtraceline.cpp}}
 
{{base point|test_traceline}} It is a debugging tool for testing tracelines that draws a line with a green box at the place where it hit something.
{{base point|test_traceline}} It is a debugging tool for testing tracelines. {{clr}}


== Keyvalues ==
== Keyvalues ==
{{KV Angles}}
{{KV Angles}}
== ConVars ==
When spawned it creates cvar traceline_spin 1. If set to 0 it stops spinning.

Revision as of 00:12, 13 November 2022

C++ Class hierarchy
CTestTraceline
CPointEntity
CBaseEntity
C++ testtraceline.cpp

Template:Base point 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.