Talk:TraceLine

From Valve Developer Community
Jump to: navigation, search

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 :)