Talk:TraceLine: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Weapon_ShootPosition)
(What about UTIL_TraceHull?)
Line 10: Line 10:


Where are the angles for the shoot position defined?
Where are the angles for the shoot position defined?
== What about UTIL_TraceHull? ==
Subj :)

Revision as of 17:07, 11 April 2008

I've been wondering if it would be possible to do something like 'move view 2 units across the surface you are looking at'. Could you do this with the plane/surface data returned?

Sure...

That's simple vector math, just rotate the normal to be flush with the wall...

Good tutorial

I never understood how tracelines worked. Now I do --dutchmega 04:31, 21 May 2006 (PDT)

Weapon_ShootPosition

Where are the angles for the shoot position defined?

What about UTIL_TraceHull?

Subj :)