Difference between revisions of "Talk:TraceLine"

From Valve Developer Community
Jump to: navigation, search
(Weapon_ShootPosition)
Line 6: Line 6:
 
== Good tutorial ==
 
== Good tutorial ==
 
I never understood how tracelines worked. Now I do --[[User:Dutchmega|dutchmega]] 04:31, 21 May 2006 (PDT)
 
I never understood how tracelines worked. Now I do --[[User:Dutchmega|dutchmega]] 04:31, 21 May 2006 (PDT)
 +
 +
== Weapon_ShootPosition ==
 +
 +
Where are the angles for the shoot position defined?

Revision as of 00:22, 30 January 2007

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?