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

Test traceline: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
 
(9 intermediate revisions by 7 users not shown)
Line 1: Line 1:
I have a problem. I searched all over the net without result:(
{{CD|CTestTraceline|file1=testtraceline.cpp}}
When u open hammer u got 4 screens. 1 in 3D and 3 in 2D. First it was normal but now it looks like this.[[http://users.telenet.be/downloadarea/hammer.jpg]] plz help
{{this is a|point entity|name=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.
send reply here or to vancaeneghempieter@hotmail.com
 
thx
== Keyvalues ==
{{KV Angles}}
 
== ConVars ==
When spawned it creates cvar traceline_spin 1. If set to 0 it stops spinning.

Latest revision as of 16:50, 17 May 2024

C++ Class hierarchy
CTestTraceline
CPointEntity
CBaseEntity
C++ 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.